From 45a01f2a802779999712b258425867479acdcddf Mon Sep 17 00:00:00 2001 From: Ruediger Pluem Date: Mon, 17 Aug 2020 11:05:44 +0000 Subject: [PATCH] * 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 --- modules/lua/mod_lua.h | 1 + 1 file changed, 1 insertion(+) 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) -- 2.47.3