Previous 199869 Revisions Next

r36870 Wednesday 1st April, 2015 at 08:53:26 UTC by Miodrag Milanović
moved unicode specific build defines in genie.lua to fix tools build (nw)
[scripts]genie.lua
[scripts/src/osd]sdl_cfg.lua windows_cfg.lua

trunk/scripts/genie.lua
r245381r245382
333333         "X64_WINDOWS_ABI",
334334      }
335335   configuration { }
336      defines {
337         "UNICODE",
338         "_UNICODE",
339         "main=utf8_main",
340      }   
336341end
337342
338343-- Avoid error when invoking genie --help.
trunk/scripts/src/osd/sdl_cfg.lua
r245381r245382
9999end
100100
101101if _OPTIONS["targetos"]=="windows" then
102   defines {
103      "UNICODE",
104      "_UNICODE",
105      "main=utf8_main",
106   }
107
108102   configuration { "vs*" }
109103      includedirs {
110104         path.join(_OPTIONS["SDL_INSTALL_ROOT"],"include")
trunk/scripts/src/osd/windows_cfg.lua
r245381r245382
11defines {
2   "UNICODE",
3   "_UNICODE",
42   "OSD_WINDOWS",
53   "USE_SDL=0",
6   "main=utf8_main",
74   "_WIN32_WINNT=0x0501",
85}
96


Previous 199869 Revisions Next


© 1997-2024 The MAME Team