diff options
Diffstat (limited to 'chromium/v8/src/win32-math.h')
-rw-r--r-- | chromium/v8/src/win32-math.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/v8/src/win32-math.h b/chromium/v8/src/win32-math.h index 0397c7e14ea..fd9312b0f54 100644 --- a/chromium/v8/src/win32-math.h +++ b/chromium/v8/src/win32-math.h @@ -37,6 +37,8 @@ #error Wrong environment, expected MSVC. #endif // _MSC_VER +// MSVC 2013+ provides implementations of all standard math functions. +#if (_MSC_VER < 1800) enum { FP_NAN, FP_INFINITE, @@ -58,4 +60,6 @@ int signbit(double x); } // namespace std +#endif // _MSC_VER < 1800 + #endif // V8_WIN32_MATH_H_ |