From a114fc03b467a5de249496ddc0b32e138d934f44 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 10 Aug 2018 22:54:54 +0800 Subject: remove some macro defines in cl.lua --- core/xmake.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'core/xmake.lua') 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 -- cgit v1.3.1