mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-18 20:53:59 +00:00
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:
parent
a0aa111c91
commit
b756c19dd3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user