diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2014-01-24 12:18:39 +0100 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2014-01-30 10:21:43 +0100 |
commit | 78567793e62b5bcad9345d0820fdeabf9cdefbf5 (patch) | |
tree | f4616ec29cfa3303846089d300d4ca6093774e3a /config | |
parent | b0e29cf8412dce0df9eb61ce5b94f6977dac1607 (diff) |
windows: define _WIN32_WINNT in cflags too
Diffstat (limited to 'config')
-rw-r--r-- | config/windows.config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/windows.config b/config/windows.config index da4aa20e..736d92b2 100644 --- a/config/windows.config +++ b/config/windows.config @@ -46,7 +46,7 @@ os.environ['OBJCFLAGS'] = '-Wall -g -O2 ' ccache = use_ccache and 'ccache ' or '' # Toolchain environment -os.environ['CFLAGS'] += "-DWINVER=0x0501" +os.environ['CFLAGS'] += "-DWINVER=0x0501 -D_WIN32_WINNT=0x0501" os.environ['LIBRARY_PATH'] = "%s/lib" % prefix os.environ['CXXFLAGS']=os.environ['CFLAGS'] os.environ['CC']= '%s%s' % (ccache, cmd('gcc')) |