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

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

Issue 2750843003: Rename TARGET_OS_* to HOST_OS_*. (Closed)
Patch Set: DEPS Created 3 years, 9 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/platform_macos.cc ('k') | runtime/bin/process.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) 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 "platform/globals.h" 5 #include "platform/globals.h"
6 #if defined(TARGET_OS_WINDOWS) 6 #if defined(HOST_OS_WINDOWS)
7 7
8 #include "bin/platform.h" 8 #include "bin/platform.h"
9 9
10 #include <crtdbg.h> 10 #include <crtdbg.h>
11 11
12 #include "bin/file.h" 12 #include "bin/file.h"
13 #include "bin/lockers.h" 13 #include "bin/lockers.h"
14 #include "bin/log.h" 14 #include "bin/log.h"
15 #if !defined(DART_IO_DISABLED) && !defined(PLATFORM_DISABLE_SOCKET) 15 #if !defined(DART_IO_DISABLED) && !defined(PLATFORM_DISABLE_SOCKET)
16 #include "bin/socket.h" 16 #include "bin/socket.h"
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 // Restore the console's output code page 287 // Restore the console's output code page
288 PlatformWin::RestoreConsole(); 288 PlatformWin::RestoreConsole();
289 // On Windows we use ExitProcess so that threads can't clobber the exit_code. 289 // On Windows we use ExitProcess so that threads can't clobber the exit_code.
290 // See: https://code.google.com/p/nativeclient/issues/detail?id=2870 290 // See: https://code.google.com/p/nativeclient/issues/detail?id=2870
291 ::ExitProcess(exit_code); 291 ::ExitProcess(exit_code);
292 } 292 }
293 293
294 } // namespace bin 294 } // namespace bin
295 } // namespace dart 295 } // namespace dart
296 296
297 #endif // defined(TARGET_OS_WINDOWS) 297 #endif // defined(HOST_OS_WINDOWS)
OLDNEW
« no previous file with comments | « runtime/bin/platform_macos.cc ('k') | runtime/bin/process.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698