| 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 #include "platform/globals.h" | 5 #include "platform/globals.h" |
| 6 #if defined(TARGET_OS_WINDOWS) | 6 #if defined(HOST_OS_WINDOWS) |
| 7 | 7 |
| 8 #include <errno.h> // NOLINT | 8 #include <errno.h> // NOLINT |
| 9 #include <time.h> // NOLINT | 9 #include <time.h> // NOLINT |
| 10 | 10 |
| 11 #include "bin/log.h" | 11 #include "bin/log.h" |
| 12 #include "bin/utils.h" | 12 #include "bin/utils.h" |
| 13 #include "bin/utils_win.h" | 13 #include "bin/utils_win.h" |
| 14 #include "platform/assert.h" | 14 #include "platform/assert.h" |
| 15 | 15 |
| 16 namespace dart { | 16 namespace dart { |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 } | 253 } |
| 254 | 254 |
| 255 | 255 |
| 256 void TimerUtils::Sleep(int64_t millis) { | 256 void TimerUtils::Sleep(int64_t millis) { |
| 257 ::Sleep(millis); | 257 ::Sleep(millis); |
| 258 } | 258 } |
| 259 | 259 |
| 260 } // namespace bin | 260 } // namespace bin |
| 261 } // namespace dart | 261 } // namespace dart |
| 262 | 262 |
| 263 #endif // defined(TARGET_OS_WINDOWS) | 263 #endif // defined(HOST_OS_WINDOWS) |
| OLD | NEW |