diff options
| author | ruki <[email protected]> | 2018-08-10 22:54:54 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-08-10 11:29:26 +0800 |
| commit | a114fc03b467a5de249496ddc0b32e138d934f44 (patch) | |
| tree | a8937c7c48be73d4b7ab7d6651062df820c231b0 /core/xmake.lua | |
| parent | 2a7d3704912245a2433d1071679f4253d96069c0 (diff) | |
remove some macro defines in cl.lua
Diffstat (limited to 'core/xmake.lua')
| -rw-r--r-- | core/xmake.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/xmake.lua b/core/xmake.lua index b9f032680..cd2999cc0 100644 --- a/core/xmake.lua +++ b/core/xmake.lua @@ -55,6 +55,11 @@ option("curses") add_defines("XM_CONFIG_API_HAVE_CURSES") option_end() +-- suppress warnings +if is_plat("windows") then + add_defines("_CRT_SECURE_NO_WARNINGS") +end + -- add projects includes("src/lcurses", "src/sv","src/luajit", "src/tbox", "src/xmake", "src/demo") if is_plat("windows") then |
