From 8b7e1b871e0895890257d6045e13b8fc22902a4c Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Wed, 1 Jun 2011 20:09:15 +0200 Subject: Define _WIN32_WINNT for mingw32 builds. --- SConstruct | 1 + 1 file changed, 1 insertion(+) (limited to 'SConstruct') diff --git a/SConstruct b/SConstruct index 644578f..0036308 100644 --- a/SConstruct +++ b/SConstruct @@ -16,6 +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(LINKFLAGS = ['-static-libgcc', '-static-libstdc++']) env['CXX'] = 'i486-mingw32-g++' else: -- cgit v1.2.3