| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 #ifndef PLATFORM_UTILS_H_ | 5 #ifndef PLATFORM_UTILS_H_ |
| 6 #define PLATFORM_UTILS_H_ | 6 #define PLATFORM_UTILS_H_ |
| 7 | 7 |
| 8 #include "platform/assert.h" | 8 #include "platform/assert.h" |
| 9 #include "platform/globals.h" | 9 #include "platform/globals.h" |
| 10 | 10 |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 }; | 219 }; |
| 220 | 220 |
| 221 } // namespace dart | 221 } // namespace dart |
| 222 | 222 |
| 223 #if defined(TARGET_OS_ANDROID) | 223 #if defined(TARGET_OS_ANDROID) |
| 224 #include "platform/utils_android.h" | 224 #include "platform/utils_android.h" |
| 225 #elif defined(TARGET_OS_LINUX) | 225 #elif defined(TARGET_OS_LINUX) |
| 226 #include "platform/utils_linux.h" | 226 #include "platform/utils_linux.h" |
| 227 #elif defined(TARGET_OS_MACOS) | 227 #elif defined(TARGET_OS_MACOS) |
| 228 #include "platform/utils_macos.h" | 228 #include "platform/utils_macos.h" |
| 229 #elif defined(TARGET_OS_OPENBSD) |
| 230 #include "platform/utils_openbsd.h" |
| 229 #elif defined(TARGET_OS_WINDOWS) | 231 #elif defined(TARGET_OS_WINDOWS) |
| 230 #include "platform/utils_win.h" | 232 #include "platform/utils_win.h" |
| 231 #else | 233 #else |
| 232 #error Unknown target os. | 234 #error Unknown target os. |
| 233 #endif | 235 #endif |
| 234 | 236 |
| 235 #endif // PLATFORM_UTILS_H_ | 237 #endif // PLATFORM_UTILS_H_ |
| OLD | NEW |