1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

Fix another mod_lua compile error.

Compilation now tested against Lus 5.1, 5.2
and 5.3. The libs were compiled with COMPAT
flags set, but mod_lua no longer sets them
so it should compile and run with non-COMPAT
libs as well.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1800833 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Rainer Jung
2017-07-04 22:14:13 +00:00
parent fe1923bb91
commit 7ed2bd2e8b

View File

@@ -55,7 +55,7 @@
#define luaL_setfuncs_compat(a,b) luaL_register(a,NULL,b)
#endif
#if LUA_VERSION_NUM > 502
#define lua_dump(a,b,c,d) lua_dump(a,b,c,d,0)
#define lua_dump(a,b,c) lua_dump(a,b,c,0)
#endif
/* Create a set of AP_LUA_DECLARE(type), AP_LUA_DECLARE_NONSTD(type) and