From 4414b944be1e59b9b0a52477a0134039e6e4b9bf Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Tue, 30 Jun 2020 13:43:41 -0400 Subject: fix for Lua 5.4 cherry-picked from: https://src.fedoraproject.org/rpms/lua-luaossl/blob/2f38bb943874955fed1ab860467ed822996808da/f/luaossl-rel-20190731-lua-5.4.patch --- vendor/compat53/c-api/compat-5.3.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vendor') diff --git a/vendor/compat53/c-api/compat-5.3.h b/vendor/compat53/c-api/compat-5.3.h index 8e10893..fb6cc25 100644 --- a/vendor/compat53/c-api/compat-5.3.h +++ b/vendor/compat53/c-api/compat-5.3.h @@ -397,11 +397,11 @@ COMPAT53_API void luaL_requiref (lua_State *L, const char *modname, /* other Lua versions */ -#if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 501 || LUA_VERSION_NUM > 503 +#if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 501 || LUA_VERSION_NUM > 504 -# error "unsupported Lua version (i.e. not Lua 5.1, 5.2, or 5.3)" +# error "unsupported Lua version (i.e. not Lua 5.1, 5.2, 5.3, or 5.4)" -#endif /* other Lua versions except 5.1, 5.2, and 5.3 */ +#endif /* other Lua versions except 5.1, 5.2, 5.3, and 5.4 */ -- cgit v1.2.3-59-g8ed1b