Skip to content

Commit 6d6deb1

Browse files
committed
Add Lua 5.5 as possible target another place
1 parent 0843a27 commit 6d6deb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apache2/msc_lua.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -463,10 +463,10 @@ int lua_execute(msc_script *script, char *param, modsec_rec *msr, msre_rule *rul
463463
/* Register functions. */
464464
#if LUA_VERSION_NUM == 500 || LUA_VERSION_NUM == 501
465465
luaL_register(L, "m", mylib);
466-
#elif LUA_VERSION_NUM == 502 || LUA_VERSION_NUM == 503 || LUA_VERSION_NUM == 504
466+
#elif LUA_VERSION_NUM == 502 || LUA_VERSION_NUM == 503 || LUA_VERSION_NUM == 504 || LUA_VERSION_NUM == 505
467467
luaL_setfuncs(L, mylib, 0);
468468
#else
469-
#error We are only tested under Lua 5.0, 5.1, 5.2, 5.3, or 5.4.
469+
#error We are only tested under Lua 5.0, 5.1, 5.2, 5.3, 5.4 or 5.5.
470470
#endif
471471

472472
lua_setglobal(L, "m");

0 commit comments

Comments
 (0)