summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Graham <scottmg@chromium.org>2015-08-09 21:02:23 -0700
committerScott Graham <scottmg@chromium.org>2015-08-09 21:02:23 -0700
commita4327b9fb07f1ea678e92c1f06aeb22c129827e2 (patch)
treeca99a9b8427702829c86d7d227ce234fbe5a4f01
parentddc1777449208ace6f494277c329ebd84671f4b5 (diff)
downloadninja-a4327b9fb07f1ea678e92c1f06aeb22c129827e2.tar.gz
Set _HAS_EXCEPTIONS=0 on MSVC
-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