summaryrefslogtreecommitdiff
path: root/deps/v8/src/dtoa-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/dtoa-config.c')
-rw-r--r--deps/v8/src/dtoa-config.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/deps/v8/src/dtoa-config.c b/deps/v8/src/dtoa-config.c
index 9fcd0ddfa8..bc0a58a174 100644
--- a/deps/v8/src/dtoa-config.c
+++ b/deps/v8/src/dtoa-config.c
@@ -77,6 +77,11 @@
#define __NO_ISOCEXT
#endif /* __MINGW32__ */
+/* On 64-bit systems, we need to make sure that a Long is only 32 bits. */
+#ifdef V8_TARGET_ARCH_X64
+#define Long int
+#endif /* V8_TARGET_ARCH_X64 */
+
/* Make sure we use the David M. Gay version of strtod(). On Linux, we
* cannot use the same name (maybe the function does not have weak
* linkage?). */