diff options
| author | OpportunityLiu <[email protected]> | 2019-07-01 14:19:05 +0800 |
|---|---|---|
| committer | OpportunityLiu <[email protected]> | 2019-07-01 14:19:05 +0800 |
| commit | f40152174188626df4b70ca1b9044a721fd3c6e8 (patch) | |
| tree | 388f5b8e3acdcf1bc9253556fe762dc8b09a5d2a /core/src/xmake/xmake.lua | |
| parent | 19cbd06f95dddacd1247d1dffab9fa29d719d02b (diff) | |
utf8 support
Diffstat (limited to 'core/src/xmake/xmake.lua')
| -rw-r--r-- | core/src/xmake/xmake.lua | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/core/src/xmake/xmake.lua b/core/src/xmake/xmake.lua index d1bd77107..8806d1ca5 100644 --- a/core/src/xmake/xmake.lua +++ b/core/src/xmake/xmake.lua @@ -23,11 +23,15 @@ target("xmake") if is_plat("windows") then add_files("winos/*.c") end - + -- add readline - add_options("readline") + add_options("readline") + if is_plat("windows") or has_config("curses") then add_defines("XM_CONFIG_API_HAVE_CURSES") end + if is_plat("windows") then + add_defines("UNICODE", "_UNICODE") + end |
