aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-01-09 14:20:18 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-01-09 14:20:18 +0000
commit74514d50dfb9f82ab285a2fb341225838dbd6f2a (patch)
treea761e65e9520cf5e84621bf064b39a1dba1dbf03
parent4f58c873d3199ec8d9d89d3c9e75fbb5e3c23e51 (diff)
parent680fa569c2e9ef2513191e1660430f77ddb7f29c (diff)
downloadrspamd-74514d50dfb9f82ab285a2fb341225838dbd6f2a.tar.gz
rspamd-74514d50dfb9f82ab285a2fb341225838dbd6f2a.zip
Merge pull request #126 from fatalbanana/master
Fix building on Fedora
-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)
{