diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2011-06-01 20:16:28 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2011-06-01 20:16:28 +0200 |
commit | d4b3c37642bb9be28ef34885cb33e60ae0f1fa79 (patch) | |
tree | 06724a9a2799fbdbf05c52a73aa0d8f5a7c33042 /SConstruct | |
parent | 9fa6460f22be5482239d0b903af985a519f77166 (diff) |
Replaced _WIN32_WINDOWS with _WIN32_WINNT and added minimum version (WinXP).
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -14,7 +14,7 @@ env.Append(CPPPATH = ['.', 'common']) if GetOption('mingw32'): env.Append(LIBS = ['winmm', 'wsock32', 'ws2_32', 'mingw32', 'noise', 'boost_filesystem-mt-s', 'boost_system-mt-s', 'boost_thread_win32-mt-s']) env.Append(LINKFLAGS = ['-static-libgcc', '-static-libstdc++']) - env.Append(CPPFLAGS = ['-D_WIN32_WINDOWS', '-DBOOST_THREAD_USE_LIB']) + env.Append(CPPFLAGS = ['-D_WIN32_WINNT=0x0501', '-DBOOST_THREAD_USE_LIB']) env['CXX'] = 'i486-mingw32-g++' else: env.Append(LIBS = ['noise', 'boost_filesystem', 'boost_thread']) |