aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_common.h
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2015-01-09 16:05:31 +0200
committerAndrew Lewis <nerf@judo.za.org>2015-01-09 16:05:31 +0200
commit680fa569c2e9ef2513191e1660430f77ddb7f29c (patch)
treea761e65e9520cf5e84621bf064b39a1dba1dbf03 /src/lua/lua_common.h
parent4f58c873d3199ec8d9d89d3c9e75fbb5e3c23e51 (diff)
downloadrspamd-680fa569c2e9ef2513191e1660430f77ddb7f29c.tar.gz
rspamd-680fa569c2e9ef2513191e1660430f77ddb7f29c.zip
Fix building on Fedora
Diffstat (limited to 'src/lua/lua_common.h')
-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)
{