diff options
author | Andrew Lewis <nerf@judo.za.org> | 2015-01-09 16:05:31 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2015-01-09 16:05:31 +0200 |
commit | 680fa569c2e9ef2513191e1660430f77ddb7f29c (patch) | |
tree | a761e65e9520cf5e84621bf064b39a1dba1dbf03 /src/lua | |
parent | 4f58c873d3199ec8d9d89d3c9e75fbb5e3c23e51 (diff) | |
download | rspamd-680fa569c2e9ef2513191e1660430f77ddb7f29c.tar.gz rspamd-680fa569c2e9ef2513191e1660430f77ddb7f29c.zip |
Fix building on Fedora
Diffstat (limited to 'src/lua')
-rw-r--r-- | src/lua/lua_common.h | 2 |
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) { |