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",
}
configuration { }
defines {
"UNICODE",
"_UNICODE",
"main=utf8_main",
}
end
-- Avoid error when invoking genie --help.

View File

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

View File

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