Software /
code /
prosody
Diff
util-src/ringbuffer.c @ 12575:1f6f05a98fcd
util-src: Remove Lua 5.1 compat macros
Part of #1600
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 01 Jul 2022 21:21:21 +0200 |
parent | 10953:c3b3ac63f4c3 |
child | 12976:a187600ec7d6 |
line wrap: on
line diff
--- a/util-src/ringbuffer.c Sat Jul 02 17:30:06 2022 +0200 +++ b/util-src/ringbuffer.c Fri Jul 01 21:21:21 2022 +0200 @@ -314,9 +314,7 @@ } int luaopen_util_ringbuffer(lua_State *L) { -#if (LUA_VERSION_NUM > 501) luaL_checkversion(L); -#endif if(luaL_newmetatable(L, "ringbuffer_mt")) { lua_pushcfunction(L, rb_tostring);