| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |