Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(260)

Side by Side Diff: runtime/bin/stdio_win.cc

Issue 3009523002: [dart:io] Remove DART_IO_DISABLED (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/bin/stdio_unsupported.cc ('k') | runtime/bin/sync_socket.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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)
OLDNEW
« no previous file with comments | « runtime/bin/stdio_unsupported.cc ('k') | runtime/bin/sync_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698