From 78ea2217526e54344332b6f606580e9ea867ed48 Mon Sep 17 00:00:00 2001 From: Martin Ridgers Date: Tue, 14 Sep 2021 15:15:36 +0200 Subject: Define _CRT_SECURE_NO_WARNINGS --- xmake.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'xmake.lua') diff --git a/xmake.lua b/xmake.lua index b1226edb1..60594a0d7 100644 --- a/xmake.lua +++ b/xmake.lua @@ -32,6 +32,10 @@ if is_mode("debug") then add_defines("DEBUG") end +if is_os("windows") then + add_defines("_CRT_SECURE_NO_WARNINGS") +end + add_defines("USE_SENTRY=1") option("vfs") -- cgit v1.2.3