mirror of
https://github.com/holub/mame
synced 2025-06-07 21:33:45 +03:00
moved unicode specific build defines in genie.lua to fix tools build (nw)
This commit is contained in:
parent
ec0553414d
commit
d504fa25ff
@ -333,6 +333,11 @@ 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.
|
||||||
|
@ -99,12 +99,6 @@ 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")
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
defines {
|
defines {
|
||||||
"UNICODE",
|
|
||||||
"_UNICODE",
|
|
||||||
"OSD_WINDOWS",
|
"OSD_WINDOWS",
|
||||||
"USE_SDL=0",
|
"USE_SDL=0",
|
||||||
"main=utf8_main",
|
|
||||||
"_WIN32_WINNT=0x0501",
|
"_WIN32_WINNT=0x0501",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user