summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2011-06-01 20:15:47 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2011-06-01 20:15:47 +0200
commit1d106a249648b2c39c1256c80325b18ffe91f7f3 (patch)
tree6a8cb7da6ce561031cadc26b9b7150a247525f7b
parent41c94dfe4dd6ec19ae66f690a70447a5bbb04d8c (diff)
Added minimum version (WinXP) to _WIN32_WINNT.
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 0036308..05a7038 100644
--- a/SConstruct
+++ b/SConstruct
@@ -16,7 +16,7 @@ if GetOption('mingw32'):
env.Append(LIBS = ['CEGUIOpenGLRenderer', 'CEGUIBase', 'CEGUITGAImageCodec', 'CEGUITinyXMLParser', 'CEGUIFalagardWRBase', 'CEGUISILLYImageCodec',
'SDL_image', 'ftgl', 'freetype-s', 'z', 'pcre', 'opengl32', 'glu32', 'winmm', 'wsock32', 'ws2_32', 'mingw32', 'SDLmain', 'SDL', 'jpeg', 'noise',
'lua', 'tolua++_Static', 'boost_filesystem-mt-s', 'boost_system-mt-s'])
- env.Append(CPPFLAGS = ['-D_WIN32_WINNT'])
+ env.Append(CPPFLAGS = ['-D_WIN32_WINNT=0x0501'])
env.Append(LINKFLAGS = ['-static-libgcc', '-static-libstdc++'])
env['CXX'] = 'i486-mingw32-g++'
else: