| 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 |
| r245381 | r245382 | |
|---|---|---|
| 333 | 333 | "X64_WINDOWS_ABI", |
| 334 | 334 | } |
| 335 | 335 | configuration { } |
| 336 | defines { | |
| 337 | "UNICODE", | |
| 338 | "_UNICODE", | |
| 339 | "main=utf8_main", | |
| 340 | } | |
| 336 | 341 | end |
| 337 | 342 | |
| 338 | 343 | -- Avoid error when invoking genie --help. |
| r245381 | r245382 | |
|---|---|---|
| 99 | 99 | end |
| 100 | 100 | |
| 101 | 101 | if _OPTIONS["targetos"]=="windows" then |
| 102 | defines { | |
| 103 | "UNICODE", | |
| 104 | "_UNICODE", | |
| 105 | "main=utf8_main", | |
| 106 | } | |
| 107 | ||
| 108 | 102 | configuration { "vs*" } |
| 109 | 103 | includedirs { |
| 110 | 104 | path.join(_OPTIONS["SDL_INSTALL_ROOT"],"include") |
| r245381 | r245382 | |
|---|---|---|
| 1 | 1 | defines { |
| 2 | "UNICODE", | |
| 3 | "_UNICODE", | |
| 4 | 2 | "OSD_WINDOWS", |
| 5 | 3 | "USE_SDL=0", |
| 6 | "main=utf8_main", | |
| 7 | 4 | "_WIN32_WINNT=0x0501", |
| 8 | 5 | } |
| 9 | 6 |
| https://github.com/mamedev/mame/commit/d504fa25ff7e42d85447f549f18a1503ec8ee26f |
| Previous | 199869 Revisions | Next |