Skip to content

Commit 3a738c9

Browse files
committed
fix compatibilty with LuaJIT 2.1
1 parent 9bd5324 commit 3a738c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lxplib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ static void set_info (lua_State *L) {
586586
}
587587

588588

589-
#if !defined LUA_VERSION_NUM || LUA_VERSION_NUM==501
589+
#if !defined(luaL_newlibtable) && (!defined LUA_VERSION_NUM || LUA_VERSION_NUM==501)
590590
/*
591591
** Adapted from Lua 5.2.0
592592
*/

0 commit comments

Comments
 (0)