aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lua/lua_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_common.h b/src/lua/lua_common.h
index cbcdf5b68..521a25580 100644
--- a/src/lua/lua_common.h
+++ b/src/lua/lua_common.h
@@ -25,7 +25,7 @@
lua_pushnumber (L, val); \
lua_settable (L, -3);
-#if LUA_VERSION_NUM > 501
+#if LUA_VERSION_NUM > 501 && !defined LUA_COMPAT_MODULE
static inline void
luaL_register (lua_State *L, const gchar *name, const struct luaL_reg *methods)
{