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

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

Issue 9124030: Cleanup gypi mess. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
Ivan Posva 2012/01/10 00:28:09 Why is time going backward here?
Mads Ager (google) 2012/01/10 06:55:05 I misunderstood your comments on the original code
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 to enable platform independent printf. 8 // __STDC_FORMAT_MACROS has to be defined to enable platform independent printf.
9 #ifndef __STDC_FORMAT_MACROS 9 #ifndef __STDC_FORMAT_MACROS
10 #define __STDC_FORMAT_MACROS 10 #define __STDC_FORMAT_MACROS
11 #endif 11 #endif
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 96
97 97
98 // On Windows the reentrent version of strtok is called 98 // On Windows the reentrent version of strtok is called
99 // strtok_s. Unify on the posix name strtok_r. 99 // strtok_s. Unify on the posix name strtok_r.
100 #if defined(TARGET_OS_WINDOWS) 100 #if defined(TARGET_OS_WINDOWS)
101 #define snprintf _snprintf 101 #define snprintf _snprintf
102 #define strtok_r strtok_s 102 #define strtok_r strtok_s
103 #endif 103 #endif
104 104
105 #endif // PLATFORM_GLOBALS_H_ 105 #endif // PLATFORM_GLOBALS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698