mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 01:08:39 +09:00
Bug 1331092 - Part 0: Define NOMINMAX to avoid compile error from min/max macro on windows.
Tag #1287
This commit is contained in:
parent
22cd310e82
commit
e9ad9eab15
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue