projects
/
platform
/
upstream
/
ninja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddc1777
)
Set _HAS_EXCEPTIONS=0 on MSVC
author
Scott Graham
<scottmg@chromium.org>
Mon, 10 Aug 2015 04:02:23 +0000
(21:02 -0700)
committer
Scott Graham
<scottmg@chromium.org>
Mon, 10 Aug 2015 04:02:23 +0000
(21:02 -0700)
configure.py
patch
|
blob
|
history
diff --git
a/configure.py
b/configure.py
index
7413659
..
b8d7096
100755
(executable)
--- 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