]> source.dussan.org Git - rspamd.git/commitdiff
Fix building on Fedora 126/head
authorAndrew Lewis <nerf@judo.za.org>
Fri, 9 Jan 2015 14:05:31 +0000 (16:05 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Fri, 9 Jan 2015 14:05:31 +0000 (16:05 +0200)
src/lua/lua_common.h

index cbcdf5b68efaa4cf093474e51ce8f30bf1ba2e43..521a25580303ab99ca43567ed9a0af2c3dfaf70a 100644 (file)
@@ -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)
 {