From a1d4e7f025c4e72185dd582ae2f96b15489926e8 Mon Sep 17 00:00:00 2001 From: Agent X <44549182+AgentXLP@users.noreply.github.com> Date: Wed, 17 Jul 2024 10:44:19 -0400 Subject: [PATCH] Fix compilation error --- src/pc/lua/smlua.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pc/lua/smlua.h b/src/pc/lua/smlua.h index 240af930..93761200 100644 --- a/src/pc/lua/smlua.h +++ b/src/pc/lua/smlua.h @@ -28,7 +28,6 @@ #define LUA_STACK_CHECK_BEGIN() int __LUA_STACK_TOP = lua_gettop(gLuaState) #define LUA_STACK_CHECK_END() if ((__LUA_STACK_TOP) != lua_gettop(gLuaState)) { smlua_dump_stack(); fflush(stdout); } assert((__LUA_STACK_TOP) == lua_gettop(gLuaState)) #else -#define LOG_LUA_LINE_WARNING(...) { snprintf(gDjuiConsoleTmpBuffer, CONSOLE_MAX_TMP_BUFFER, __VA_ARGS__), sys_swap_backslashes(gDjuiConsoleTmpBuffer), djui_console_message_create(gDjuiConsoleTmpBuffer, CONSOLE_MESSAGE_WARNING); } #define LUA_STACK_CHECK_BEGIN() #define LUA_STACK_CHECK_END() #endif