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

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

Issue 2450713004: Make header include guards great again (Closed)
Patch Set: Fix header include guards Created 4 years, 1 month 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/platform/floating_point_win.h ('k') | runtime/platform/hashmap.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 #ifndef PLATFORM_GLOBALS_H_ 5 #ifndef RUNTIME_PLATFORM_GLOBALS_H_
6 #define PLATFORM_GLOBALS_H_ 6 #define RUNTIME_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 before including <inttypes.h> to
9 // enable platform independent printf format specifiers. 9 // enable platform independent printf format specifiers.
10 #ifndef __STDC_FORMAT_MACROS 10 #ifndef __STDC_FORMAT_MACROS
11 #define __STDC_FORMAT_MACROS 11 #define __STDC_FORMAT_MACROS
12 #endif 12 #endif
13 13
14 #if defined(_WIN32) 14 #if defined(_WIN32)
15 // Cut down on the amount of stuff that gets included via windows.h. 15 // Cut down on the amount of stuff that gets included via windows.h.
16 #if !defined(WIN32_LEAN_AND_MEAN) 16 #if !defined(WIN32_LEAN_AND_MEAN)
(...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 // For checking deterministic graph generation, we can store instruction 706 // For checking deterministic graph generation, we can store instruction
707 // tag in the ICData and check it when recreating the flow graph in 707 // tag in the ICData and check it when recreating the flow graph in
708 // optimizing compiler. Enable it for other modes (product, release) if needed 708 // optimizing compiler. Enable it for other modes (product, release) if needed
709 // for debugging. 709 // for debugging.
710 #if defined(DEBUG) 710 #if defined(DEBUG)
711 #define TAG_IC_DATA 711 #define TAG_IC_DATA
712 #endif 712 #endif
713 713
714 } // namespace dart 714 } // namespace dart
715 715
716 #endif // PLATFORM_GLOBALS_H_ 716 #endif // RUNTIME_PLATFORM_GLOBALS_H_
OLDNEW
« no previous file with comments | « runtime/platform/floating_point_win.h ('k') | runtime/platform/hashmap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698