Skip to content

Commit 0843a27

Browse files
committed
Add Lua 5.5 as possible target
1 parent 78f9b6f commit 0843a27

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
@@ -433,12 +433,12 @@ int lua_execute(msc_script *script, char *param, modsec_rec *msr, msre_rule *rul
433433
#else
434434

435435
/* Create new state. */
436-
#if LUA_VERSION_NUM == 502 || LUA_VERSION_NUM == 503 || LUA_VERSION_NUM == 504 || LUA_VERSION_NUM == 501
436+
#if LUA_VERSION_NUM == 502 || LUA_VERSION_NUM == 503 || LUA_VERSION_NUM == 504 || LUA_VERSION_NUM == 505 || LUA_VERSION_NUM == 501
437437
L = luaL_newstate();
438438
#elif LUA_VERSION_NUM == 500
439439
L = lua_open();
440440
#else
441-
#error We are only tested under Lua 5.0, 5.1, 5.2, 5.3, or 5.4.
441+
#error We are only tested under Lua 5.0, 5.1, 5.2, 5.3, 5.4 or 5.5.
442442
#endif
443443
luaL_openlibs(L);
444444

0 commit comments

Comments
 (0)