summaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2012-01-22 18:22:45 (GMT)
committerEvan Martin <martine@danga.com>2012-01-22 18:22:45 (GMT)
commitfaac236d26b206cd6a8f4aa6e2bca8a83f0f83fa (patch)
treebb1354e6bfb55e7540011806f3b511e79a10da63 /configure.py
parent2ef3a546476987d6565141337c6309e7ae60f9fd (diff)
downloadNinja-faac236d26b206cd6a8f4aa6e2bca8a83f0f83fa.zip
Ninja-faac236d26b206cd6a8f4aa6e2bca8a83f0f83fa.tar.gz
Ninja-faac236d26b206cd6a8f4aa6e2bca8a83f0f83fa.tar.bz2
windows: use _WIN32 define everywhere
Rather than mixing use of WIN32 and _WIN32.
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.py b/configure.py
index 6732c98..be47446 100755
--- a/configure.py
+++ b/configure.py
@@ -104,7 +104,7 @@ else:
if platform == 'windows':
cflags = ['/nologo', '/Zi', '/W4', '/WX', '/wd4530', '/wd4100', '/wd4706',
'/wd4512', '/wd4800', '/wd4702',
- '/D_CRT_SECURE_NO_WARNINGS', '/DWIN32',
+ '/D_CRT_SECURE_NO_WARNINGS',
"/DNINJA_PYTHON=\"%s\"" % (options.with_python,)]
ldflags = ['/DEBUG', '/libpath:$builddir']
if not options.debug: