OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #include "platform/globals.h" | 5 #include "platform/globals.h" |
6 #if defined(TARGET_OS_MACOS) | 6 #if defined(HOST_OS_MACOS) |
7 | 7 |
8 #include <errno.h> // NOLINT | 8 #include <errno.h> // NOLINT |
9 #include <assert.h> // NOLINT | 9 #include <assert.h> // NOLINT |
10 #include <stdbool.h> // NOLINT | 10 #include <stdbool.h> // NOLINT |
11 #include <sys/types.h> // NOLINT | 11 #include <sys/types.h> // NOLINT |
12 #include <unistd.h> // NOLINT | 12 #include <unistd.h> // NOLINT |
13 #include <sys/sysctl.h> // NOLINT | 13 #include <sys/sysctl.h> // NOLINT |
14 | 14 |
15 #include "vm/flags.h" | 15 #include "vm/flags.h" |
16 #include "vm/os.h" | 16 #include "vm/os.h" |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 | 88 |
89 | 89 |
90 void ThreadInterrupter::RemoveSignalHandler() { | 90 void ThreadInterrupter::RemoveSignalHandler() { |
91 SignalHandler::Remove(); | 91 SignalHandler::Remove(); |
92 } | 92 } |
93 | 93 |
94 #endif // !PRODUCT | 94 #endif // !PRODUCT |
95 | 95 |
96 } // namespace dart | 96 } // namespace dart |
97 | 97 |
98 #endif // defined(TARGET_OS_MACOS) | 98 #endif // defined(HOST_OS_MACOS) |
OLD | NEW |