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