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:
00d6897
)
mingw: specify _WIN32_WINNT also in configure.py
author
Evan Martin
<martine@danga.com>
Fri, 27 Jul 2012 17:17:20 +0000
(10:17 -0700)
committer
Evan Martin
<martine@danga.com>
Fri, 27 Jul 2012 17:20:16 +0000
(10:20 -0700)
configure.py
patch
|
blob
|
history
diff --git
a/configure.py
b/configure.py
index
df1d6bb
..
e52262d
100755
(executable)
--- a/
configure.py
+++ b/
configure.py
@@
-130,6
+130,8
@@
else:
cflags += ['-O2', '-DNDEBUG']
if 'clang' in os.path.basename(CXX):
cflags += ['-fcolor-diagnostics']
+ if platform == 'mingw':
+ cflags += ['-D_WIN32_WINNT=0x0501']
ldflags = ['-L$builddir']
libs = []