diff options
author | Evan Martin <martine@danga.com> | 2012-07-27 17:17:20 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2012-07-27 17:20:16 (GMT) |
commit | 69d94732ad63fe5d73fe18972eb48225bcaadf98 (patch) | |
tree | a42443089ec261869422e313c419ea0bb5b86e8b | |
parent | 00d68972b13ec20fd09301784ae330f7a1921568 (diff) | |
download | Ninja-69d94732ad63fe5d73fe18972eb48225bcaadf98.zip Ninja-69d94732ad63fe5d73fe18972eb48225bcaadf98.tar.gz Ninja-69d94732ad63fe5d73fe18972eb48225bcaadf98.tar.bz2 |
mingw: specify _WIN32_WINNT also in configure.py
-rwxr-xr-x | configure.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.py b/configure.py index df1d6bb..e52262d 100755 --- 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 = [] |