diff --git a/src/lxplib.c b/src/lxplib.c index 1c972db..f72ef13 100644 --- a/src/lxplib.c +++ b/src/lxplib.c @@ -586,7 +586,7 @@ static void set_info (lua_State *L) { } -#if !defined LUA_VERSION_NUM || LUA_VERSION_NUM==501 +#if !defined(luaL_newlibtable) && (!defined LUA_VERSION_NUM || LUA_VERSION_NUM==501) /* ** Adapted from Lua 5.2.0 */