| 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 "vm/globals.h" | 5 #include "vm/globals.h" |
| 6 #if defined(TARGET_OS_LINUX) | 6 #if defined(HOST_OS_LINUX) |
| 7 | 7 |
| 8 #include "vm/os.h" | 8 #include "vm/os.h" |
| 9 | 9 |
| 10 #include <errno.h> // NOLINT | 10 #include <errno.h> // NOLINT |
| 11 #include <limits.h> // NOLINT | 11 #include <limits.h> // NOLINT |
| 12 #include <malloc.h> // NOLINT | 12 #include <malloc.h> // NOLINT |
| 13 #include <time.h> // NOLINT | 13 #include <time.h> // NOLINT |
| 14 #include <sys/resource.h> // NOLINT | 14 #include <sys/resource.h> // NOLINT |
| 15 #include <sys/time.h> // NOLINT | 15 #include <sys/time.h> // NOLINT |
| 16 #include <sys/types.h> // NOLINT | 16 #include <sys/types.h> // NOLINT |
| (...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 abort(); | 421 abort(); |
| 422 } | 422 } |
| 423 | 423 |
| 424 | 424 |
| 425 void OS::Exit(int code) { | 425 void OS::Exit(int code) { |
| 426 exit(code); | 426 exit(code); |
| 427 } | 427 } |
| 428 | 428 |
| 429 } // namespace dart | 429 } // namespace dart |
| 430 | 430 |
| 431 #endif // defined(TARGET_OS_LINUX) | 431 #endif // defined(HOST_OS_LINUX) |
| OLD | NEW |