aboutsummaryrefslogtreecommitdiffstats
path: root/vendor
diff options
context:
space:
mode:
authorLibravatarLibravatar Tom Callaway <spot@fedoraproject.org> 2020-06-30 13:43:41 -0400
committerLibravatarLibravatar daurnimator <quae@daurnimator.com> 2020-07-05 19:05:53 +1000
commit4414b944be1e59b9b0a52477a0134039e6e4b9bf (patch)
treea7e7cf66893d28a5680bdf02a96fdac5ca1b37c4 /vendor
parent2ae0a68ef20f638587a9423770e488198d703fd0 (diff)
downloadluaossl-4414b944be1e59b9b0a52477a0134039e6e4b9bf.tar.gz
luaossl-4414b944be1e59b9b0a52477a0134039e6e4b9bf.tar.bz2
luaossl-4414b944be1e59b9b0a52477a0134039e6e4b9bf.zip
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
Diffstat (limited to 'vendor')
-rw-r--r--vendor/compat53/c-api/compat-5.3.h6
1 files changed, 3 insertions, 3 deletions
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 */