summaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorHelenerineium <photosynthesis2728@gmail.com>2019-11-23 09:47:44 (GMT)
committerHelenerineium <photosynthesis2728@gmail.com>2019-11-23 09:47:44 (GMT)
commit288f04eb171f18818950ffb235ded7c11e3cc92b (patch)
tree15f3304bc3aaf3ed58022ddc14dc97f32cd71f00 /configure.py
parented154b90522eaa47f255f416e882de9f9771aadf (diff)
downloadNinja-288f04eb171f18818950ffb235ded7c11e3cc92b.zip
Ninja-288f04eb171f18818950ffb235ded7c11e3cc92b.tar.gz
Ninja-288f04eb171f18818950ffb235ded7c11e3cc92b.tar.bz2
Fix warnings on mingw build
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 1d6ee7d..7d8ce90 100755
--- a/configure.py
+++ b/configure.py
@@ -356,7 +356,7 @@ else:
except:
pass
if platform.is_mingw():
- cflags += ['-D_WIN32_WINNT=0x0601']
+ cflags += ['-D_WIN32_WINNT=0x0601', '-D__USE_MINGW_ANSI_STDIO=1']
ldflags = ['-L$builddir']
if platform.uses_usr_local():
cflags.append('-I/usr/local/include')