summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'SConstruct')
-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'])