moved unicode specific build defines in genie.lua to fix tools build (nw)

This commit is contained in:
Miodrag Milanovic 2015-04-01 10:53:26 +02:00
parent ec0553414d
commit d504fa25ff
3 changed files with 5 additions and 9 deletions

View File

@ -333,6 +333,11 @@ 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,12 +99,6 @@ 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,9 +1,6 @@
defines {
"UNICODE",
"_UNICODE",
"OSD_WINDOWS",
"USE_SDL=0",
"main=utf8_main",
"_WIN32_WINNT=0x0501",
}