summaryrefslogtreecommitdiffstats
path: root/apps/plugins/lua/lua.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lua/lua.h')
-rw-r--r--apps/plugins/lua/lua.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/plugins/lua/lua.h b/apps/plugins/lua/lua.h
index a4b73e743e..74331e924f 100644
--- a/apps/plugins/lua/lua.h
+++ b/apps/plugins/lua/lua.h
@@ -94,6 +94,9 @@ typedef void * (*lua_Alloc) (void *ud, void *ptr, size_t osize, size_t nsize);
#include LUA_USER_H
#endif
+#if defined(LUA_OPTIMIZE_DEBUG) && LUA_OPTIMIZE_DEBUG == 0
+#undef LUA_OPTIMIZE_DEBUG
+#endif
/* type of numbers in Lua */
typedef LUA_NUMBER lua_Number;