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" }