Allow LuaJIT 2.1 to be used

This commit is contained in:
Victor Hora
2018-10-12 17:31:09 -04:00
parent 28f6f2201f
commit 20ef01d75c
2 changed files with 3 additions and 2 deletions

View File

@@ -102,7 +102,7 @@ static const struct luaL_Reg mscLuaLib[] = {
} // namespace modsecurity
#ifdef WITH_LUA
#if defined LUA_VERSION_NUM && LUA_VERSION_NUM < 502
#if defined LUA_VERSION_NUM && LUA_VERSION_NUM < 502 && !defined WITH_LUA_JIT_2_1
/*
** Adapted from Lua 5.2.0
*/