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 #if !defined(DART_IO_DISABLED) | 5 #if !defined(DART_IO_DISABLED) |
6 | 6 |
7 #include "platform/globals.h" | 7 #include "platform/globals.h" |
8 #if defined(TARGET_OS_WINDOWS) | 8 #if defined(HOST_OS_WINDOWS) |
9 | 9 |
10 #include "bin/process.h" | 10 #include "bin/process.h" |
11 | 11 |
12 #include <process.h> // NOLINT | 12 #include <process.h> // NOLINT |
13 | 13 |
14 #include "bin/builtin.h" | 14 #include "bin/builtin.h" |
15 #include "bin/dartutils.h" | 15 #include "bin/dartutils.h" |
16 #include "bin/eventhandler.h" | 16 #include "bin/eventhandler.h" |
17 #include "bin/lockers.h" | 17 #include "bin/lockers.h" |
18 #include "bin/log.h" | 18 #include "bin/log.h" |
(...skipping 1019 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1038 if (signal_handlers == NULL) { | 1038 if (signal_handlers == NULL) { |
1039 USE(SetConsoleCtrlHandler(SignalHandler, false)); | 1039 USE(SetConsoleCtrlHandler(SignalHandler, false)); |
1040 } | 1040 } |
1041 } | 1041 } |
1042 delete handler; | 1042 delete handler; |
1043 } | 1043 } |
1044 | 1044 |
1045 } // namespace bin | 1045 } // namespace bin |
1046 } // namespace dart | 1046 } // namespace dart |
1047 | 1047 |
1048 #endif // defined(TARGET_OS_WINDOWS) | 1048 #endif // defined(HOST_OS_WINDOWS) |
1049 | 1049 |
1050 #endif // !defined(DART_IO_DISABLED) | 1050 #endif // !defined(DART_IO_DISABLED) |
OLD | NEW |