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

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

Issue 2117593002: Fuchsia: Initial check-in. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address comments Created 4 years, 5 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/lib/timeline.cc ('k') | runtime/platform/math.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 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 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
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 // '#if defined(TARGET_OS_IOS)'. TARGET_OS_IOS is defined to be 0 in 106 // '#if defined(TARGET_OS_IOS)'. TARGET_OS_IOS is defined to be 0 in
107 // XCode >= 7.0. See Issue #24453. 107 // XCode >= 7.0. See Issue #24453.
108 #define TARGET_OS_IOS 1 108 #define TARGET_OS_IOS 1
109 #endif 109 #endif
110 110
111 #elif defined(_WIN32) 111 #elif defined(_WIN32)
112 112
113 // Windows, both 32- and 64-bit, regardless of the check for _WIN32. 113 // Windows, both 32- and 64-bit, regardless of the check for _WIN32.
114 #define TARGET_OS_WINDOWS 1 114 #define TARGET_OS_WINDOWS 1
115 115
116 #else 116 #elif !defined(TARGET_OS_FUCHSIA)
117 #error Automatic target os detection failed. 117 #error Automatic target os detection failed.
118 #endif 118 #endif
119 119
120 120
121 // Setup product, release or debug build related macros. 121 // Setup product, release or debug build related macros.
122 #if defined(PRODUCT) && defined(DEBUG) 122 #if defined(PRODUCT) && defined(DEBUG)
123 #error Both PRODUCT and DEBUG defined. 123 #error Both PRODUCT and DEBUG defined.
124 #endif // defined(PRODUCT) && defined(DEBUG) 124 #endif // defined(PRODUCT) && defined(DEBUG)
125 125
126 #if defined(PRODUCT) 126 #if defined(PRODUCT)
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after
691 // tag in the ICData and check it when recreating the flow graph in 691 // tag in the ICData and check it when recreating the flow graph in
692 // optimizing compiler. Enable it for other modes (product, release) if needed 692 // optimizing compiler. Enable it for other modes (product, release) if needed
693 // for debugging. 693 // for debugging.
694 #if defined(DEBUG) 694 #if defined(DEBUG)
695 #define TAG_IC_DATA 695 #define TAG_IC_DATA
696 #endif 696 #endif
697 697
698 } // namespace dart 698 } // namespace dart
699 699
700 #endif // PLATFORM_GLOBALS_H_ 700 #endif // PLATFORM_GLOBALS_H_
OLDNEW
« no previous file with comments | « runtime/lib/timeline.cc ('k') | runtime/platform/math.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698