]> granicus.if.org Git - apache/commitdiff
Fix another mod_lua compile error.
authorRainer Jung <rjung@apache.org>
Tue, 4 Jul 2017 22:14:13 +0000 (22:14 +0000)
committerRainer Jung <rjung@apache.org>
Tue, 4 Jul 2017 22:14:13 +0000 (22:14 +0000)
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

modules/lua/mod_lua.h

index 3fc36f17ce8f32064ec4f7d23caa63698c393d2d..0e49cdc0d4b38eb8a47bedcfe8ef1d52bd422b16 100644 (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