From 8da5c4165a1f9f1cbdab0a9c2133d66422c8c56b Mon Sep 17 00:00:00 2001 From: salix5 Date: Sun, 20 Oct 2024 20:16:45 +0800 Subject: [PATCH] use LUA_USE_APICHECK for debug (#647) --- premake/lua.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/premake/lua.lua b/premake/lua.lua index d64c5370e..c6de89ae8 100644 --- a/premake/lua.lua +++ b/premake/lua.lua @@ -10,6 +10,9 @@ project "lua" filter "not action:vs*" buildoptions { "-x c++" } + filter "configurations:Debug" + defines { "LUA_USE_APICHECK" } + filter "system:bsd" defines { "LUA_USE_POSIX" }