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

Side by Side Diff: runtime/platform/globals.h

Issue 10850017: Revert "Use platform-independent format specifiers when disassembling code objects." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « runtime/include/dart_api.h ('k') | runtime/vm/compiler.cc » ('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 #ifndef PLATFORM_GLOBALS_H_ 5 #ifndef PLATFORM_GLOBALS_H_
6 #define PLATFORM_GLOBALS_H_ 6 #define PLATFORM_GLOBALS_H_
7 7
8 // __STDC_FORMAT_MACROS has to be defined before including <inttypes.h> to 8 // __STDC_FORMAT_MACROS has to be defined to enable platform independent printf.
9 // enable platform independent printf format specifiers.
10 #ifndef __STDC_FORMAT_MACROS 9 #ifndef __STDC_FORMAT_MACROS
11 #define __STDC_FORMAT_MACROS 10 #define __STDC_FORMAT_MACROS
12 #endif 11 #endif
13 12
14 #if defined(_WIN32) 13 #if defined(_WIN32)
15 // Cut down on the amount of stuff that gets included via windows.h. 14 // Cut down on the amount of stuff that gets included via windows.h.
16 #define WIN32_LEAN_AND_MEAN 15 #define WIN32_LEAN_AND_MEAN
17 #define NOMINMAX 16 #define NOMINMAX
18 #define NOKERNEL 17 #define NOKERNEL
19 #define NOUSER 18 #define NOUSER
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 // separate lines with body in {}s). 339 // separate lines with body in {}s).
341 # define TEMP_FAILURE_RETRY(expression) \ 340 # define TEMP_FAILURE_RETRY(expression) \
342 ({ int64_t __result; \ 341 ({ int64_t __result; \
343 do { \ 342 do { \
344 __result = (int64_t) (expression); \ 343 __result = (int64_t) (expression); \
345 } while (__result == -1L && errno == EINTR); \ 344 } while (__result == -1L && errno == EINTR); \
346 __result; }) 345 __result; })
347 #endif 346 #endif
348 347
349 #endif // PLATFORM_GLOBALS_H_ 348 #endif // PLATFORM_GLOBALS_H_
OLDNEW
« no previous file with comments | « runtime/include/dart_api.h ('k') | runtime/vm/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698