From: Rainer Jung Date: Tue, 4 Jul 2017 22:14:13 +0000 (+0000) Subject: Fix another mod_lua compile error. X-Git-Tag: 2.5.0-alpha~307 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7ed2bd2e8b99ad79f2f22bb5b07e3eb461705507;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/modules/lua/mod_lua.h b/modules/lua/mod_lua.h index 3fc36f17ce8..0e49cdc0d4b 100644 --- a/modules/lua/mod_lua.h +++ b/modules/lua/mod_lua.h @@ -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