| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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/stdio.h" | 8 #include "bin/stdio.h" |
| 11 | 9 |
| 12 // These are not always defined in the header files. See: | 10 // These are not always defined in the header files. See: |
| 13 // https://msdn.microsoft.com/en-us/library/windows/desktop/ms686033(v=vs.85).as
px | 11 // https://msdn.microsoft.com/en-us/library/windows/desktop/ms686033(v=vs.85).as
px |
| 14 #ifndef ENABLE_VIRTUAL_TERMINAL_INPUT | 12 #ifndef ENABLE_VIRTUAL_TERMINAL_INPUT |
| 15 #define ENABLE_VIRTUAL_TERMINAL_INPUT 0x0200 | 13 #define ENABLE_VIRTUAL_TERMINAL_INPUT 0x0200 |
| 16 #endif | 14 #endif |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 return true; | 130 return true; |
| 133 } | 131 } |
| 134 *supported = (mode & ENABLE_VIRTUAL_TERMINAL_PROCESSING) != 0; | 132 *supported = (mode & ENABLE_VIRTUAL_TERMINAL_PROCESSING) != 0; |
| 135 return true; | 133 return true; |
| 136 } | 134 } |
| 137 | 135 |
| 138 } // namespace bin | 136 } // namespace bin |
| 139 } // namespace dart | 137 } // namespace dart |
| 140 | 138 |
| 141 #endif // defined(HOST_OS_WINDOWS) | 139 #endif // defined(HOST_OS_WINDOWS) |
| 142 | |
| 143 #endif // !defined(DART_IO_DISABLED) | |
| OLD | NEW |