From 3a738c95eb966531e58fe24c0673e760ee99a426 Mon Sep 17 00:00:00 2001 From: silverwind Date: Wed, 31 May 2017 17:18:50 +0200 Subject: [PATCH] fix compatibilty with LuaJIT 2.1 --- src/lxplib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */