mirror of
https://github.com/holub/mame
synced 2025-06-05 20: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",
|
||||
}
|
||||
configuration { }
|
||||
defines {
|
||||
"UNICODE",
|
||||
"_UNICODE",
|
||||
"main=utf8_main",
|
||||
}
|
||||
end
|
||||
|
||||
-- Avoid error when invoking genie --help.
|
||||
|
@ -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")
|
||||
|
@ -1,9 +1,6 @@
|
||||
defines {
|
||||
"UNICODE",
|
||||
"_UNICODE",
|
||||
"OSD_WINDOWS",
|
||||
"USE_SDL=0",
|
||||
"main=utf8_main",
|
||||
"_WIN32_WINNT=0x0501",
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user