uf reverting breaks mingw (nw)

This commit is contained in:
Miodrag Milanovic 2015-04-01 10:57:03 +02:00
parent d504fa25ff
commit 42ffb726fa
3 changed files with 9 additions and 5 deletions

View File

@ -333,11 +333,6 @@ if _OPTIONS["targetos"]=="windows" then
"X64_WINDOWS_ABI", "X64_WINDOWS_ABI",
} }
configuration { } configuration { }
defines {
"UNICODE",
"_UNICODE",
"main=utf8_main",
}
end end
-- Avoid error when invoking genie --help. -- Avoid error when invoking genie --help.

View File

@ -99,6 +99,12 @@ if BASE_TARGETOS=="unix" then
end end
if _OPTIONS["targetos"]=="windows" then if _OPTIONS["targetos"]=="windows" then
defines {
"UNICODE",
"_UNICODE",
"main=utf8_main",
}
configuration { "vs*" } configuration { "vs*" }
includedirs { includedirs {
path.join(_OPTIONS["SDL_INSTALL_ROOT"],"include") path.join(_OPTIONS["SDL_INSTALL_ROOT"],"include")

View File

@ -1,6 +1,9 @@
defines { defines {
"UNICODE",
"_UNICODE",
"OSD_WINDOWS", "OSD_WINDOWS",
"USE_SDL=0", "USE_SDL=0",
"main=utf8_main",
"_WIN32_WINNT=0x0501", "_WIN32_WINNT=0x0501",
} }