From 680fa569c2e9ef2513191e1660430f77ddb7f29c Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Fri, 9 Jan 2015 16:05:31 +0200 Subject: [PATCH] Fix building on Fedora --- src/lua/lua_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.5