summaryrefslogtreecommitdiffstats
path: root/js/src
diff options
context:
space:
mode:
Diffstat (limited to 'js/src')
-rw-r--r--js/src/moz.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/src/moz.build b/js/src/moz.build
index d1e80b4ce..1546b8351 100644
--- a/js/src/moz.build
+++ b/js/src/moz.build
@@ -790,3 +790,6 @@ if CONFIG['GNU_CXX']:
# Suppress warnings in third-party code.
if CONFIG['CLANG_CXX'] or CONFIG['GNU_CXX']:
SOURCES['jsdtoa.cpp'].flags += ['-Wno-implicit-fallthrough']
+
+if CONFIG['OS_ARCH'] == 'WINNT':
+ DEFINES['NOMINMAX'] = True