diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2019-12-04 18:47:17 -0500 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2019-12-17 06:25:26 -0500 |
commit | 5e1f00240df371a1c798814bbf0f628703211a95 (patch) | |
tree | 7e6dfb5d41f6396491b43706cae24ce70e2a4e1b /js/src/moz.build | |
parent | f87b1b8850d97eb7c9c9e5adb31594251a934441 (diff) | |
download | UXP-5e1f00240df371a1c798814bbf0f628703211a95.tar UXP-5e1f00240df371a1c798814bbf0f628703211a95.tar.gz UXP-5e1f00240df371a1c798814bbf0f628703211a95.tar.lz UXP-5e1f00240df371a1c798814bbf0f628703211a95.tar.xz UXP-5e1f00240df371a1c798814bbf0f628703211a95.zip |
Bug 1331092 - Part 0: Define NOMINMAX to avoid compile error from min/max macro on windows.
Tag #1287
Diffstat (limited to 'js/src/moz.build')
-rw-r--r-- | js/src/moz.build | 3 |
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 |