]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* Correctly define lua_resume for Lua <= 5.1
authorRuediger Pluem <rpluem@apache.org>
Mon, 17 Aug 2020 11:05:44 +0000 (11:05 +0000)
committerRuediger Pluem <rpluem@apache.org>
Mon, 17 Aug 2020 11:05:44 +0000 (11:05 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1880924 13f79535-47bb-0310-9956-ffa450edef68

modules/lua/mod_lua.h

index 72b4de744c02659b7159b560d2a838868f1855e6..46395da784108ff4a67016796215867d15deced3 100644 (file)
@@ -61,6 +61,7 @@
 #else
 #define lua_rawlen(L,i)    lua_objlen(L, (i))
 #define luaL_setfuncs_compat(a,b) luaL_register(a,NULL,b)
+#define lua_resume(a,b,c)    (*(c) = 1, lua_resume(a, b))
 #endif
 #if LUA_VERSION_NUM > 502
 #define lua_dump(a,b,c) lua_dump(a,b,c,0)