From: Andrew Lewis Date: Fri, 9 Jan 2015 14:05:31 +0000 (+0200) Subject: Fix building on Fedora X-Git-Tag: 0.8.1~13^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F126%2Fhead;p=rspamd.git Fix building on Fedora --- 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) {