scons: Require SDK defs for Windows XP and later instead of 2000 and later

1.13.1 does away with Windows 2000 compatibility by requiring the
AttachConsole function from kernel32.dll, introduced in Windows XP.
This commit is contained in:
Ignacio R. Morelle 2015-07-23 21:07:40 -03:00
parent a0aa111c91
commit b756c19dd3

View File

@ -530,7 +530,7 @@ for env in [test_env, client_env, env]:
env[d] = os.path.join(env["prefix"], env[d])
if env["PLATFORM"] == 'win32':
env.Append(LIBS = ["wsock32", "iconv", "z"], CCFLAGS = ["-mthreads"], LINKFLAGS = ["-mthreads"], CPPDEFINES = ["_WIN32_WINNT=0x0500"])
env.Append(LIBS = ["wsock32", "iconv", "z"], CCFLAGS = ["-mthreads"], LINKFLAGS = ["-mthreads"], CPPDEFINES = ["_WIN32_WINNT=0x0501"])
if env["PLATFORM"] == 'darwin': # Mac OS X
env.Append(FRAMEWORKS = "Carbon") # Carbon GUI