summaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorScott Graham <scottmg@chromium.org>2015-08-10 04:02:23 (GMT)
committerScott Graham <scottmg@chromium.org>2015-08-10 04:02:23 (GMT)
commita4327b9fb07f1ea678e92c1f06aeb22c129827e2 (patch)
treeca99a9b8427702829c86d7d227ce234fbe5a4f01 /configure.py
parentddc1777449208ace6f494277c329ebd84671f4b5 (diff)
downloadNinja-a4327b9fb07f1ea678e92c1f06aeb22c129827e2.zip
Ninja-a4327b9fb07f1ea678e92c1f06aeb22c129827e2.tar.gz
Ninja-a4327b9fb07f1ea678e92c1f06aeb22c129827e2.tar.bz2
Set _HAS_EXCEPTIONS=0 on MSVC
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.py b/configure.py
index 7413659..b8d7096 100755
--- a/configure.py
+++ b/configure.py
@@ -297,6 +297,7 @@ if platform.is_msvc():
# We never have strings or arrays larger than 2**31.
'/wd4267',
'/DNOMINMAX', '/D_CRT_SECURE_NO_WARNINGS',
+ '/D_HAS_EXCEPTIONS=0',
'/DNINJA_PYTHON="%s"' % options.with_python]
if options.bootstrap:
# In bootstrap mode, we have no ninja process to catch /showIncludes