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

Side by Side Diff: runtime/platform/c99_support_win.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/assert.h ('k') | runtime/platform/floating_point.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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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_C99_SUPPORT_WIN_H_ 5 #ifndef RUNTIME_PLATFORM_C99_SUPPORT_WIN_H_
6 #define PLATFORM_C99_SUPPORT_WIN_H_ 6 #define RUNTIME_PLATFORM_C99_SUPPORT_WIN_H_
7 7
8 #if defined(_MSC_VER) && (_MSC_VER < 1800) 8 #if defined(_MSC_VER) && (_MSC_VER < 1800)
9 9
10 // Before Visual Studio 2013 Visual C++ was missing a bunch of C99 math macros 10 // Before Visual Studio 2013 Visual C++ was missing a bunch of C99 math macros
11 // and functions. Define them here. 11 // and functions. Define them here.
12 12
13 #include <float.h> 13 #include <float.h>
14 #include <string.h> 14 #include <string.h>
15 15
16 #include <cmath> 16 #include <cmath>
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 } 72 }
73 } 73 }
74 74
75 // Windows does not have strtoll defined. 75 // Windows does not have strtoll defined.
76 #if defined(_MSC_VER) 76 #if defined(_MSC_VER)
77 #define strtoll _strtoi64 77 #define strtoll _strtoi64
78 #endif 78 #endif
79 79
80 #endif 80 #endif
81 81
82 #endif // PLATFORM_C99_SUPPORT_WIN_H_ 82 #endif // RUNTIME_PLATFORM_C99_SUPPORT_WIN_H_
OLDNEW
« no previous file with comments | « runtime/platform/assert.h ('k') | runtime/platform/floating_point.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698