From: Ruediger Pluem Date: Mon, 17 Aug 2020 11:05:44 +0000 (+0000) Subject: * Correctly define lua_resume for Lua <= 5.1 X-Git-Tag: 2.5.0-alpha2-ci-test-only~1235 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45a01f2a802779999712b258425867479acdcddf;p=thirdparty%2Fapache%2Fhttpd.git * Correctly define lua_resume for Lua <= 5.1 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1880924 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/lua/mod_lua.h b/modules/lua/mod_lua.h index 72b4de744c0..46395da7841 100644 --- a/modules/lua/mod_lua.h +++ b/modules/lua/mod_lua.h @@ -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)