summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2011-06-01 20:16:28 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2011-06-01 20:16:28 +0200
commitd4b3c37642bb9be28ef34885cb33e60ae0f1fa79 (patch)
tree06724a9a2799fbdbf05c52a73aa0d8f5a7c33042
parent9fa6460f22be5482239d0b903af985a519f77166 (diff)
Replaced _WIN32_WINDOWS with _WIN32_WINNT and added minimum version (WinXP).
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 2952dbc..dd1d8b0 100644
--- a/SConstruct
+++ b/SConstruct
@@ -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'])