aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/src/win32-math.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/win32-math.h')
-rw-r--r--deps/v8/src/win32-math.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/deps/v8/src/win32-math.h b/deps/v8/src/win32-math.h
index 0397c7e14e..fd9312b0f5 100644
--- a/deps/v8/src/win32-math.h
+++ b/deps/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_