mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 14:56:46 +02:00
13 lines
541 B
Diff
13 lines
541 B
Diff
diff --git a/lbitlib.c b/lbitlib.c
|
|
index 24ceac6..fbbcc58 100644
|
|
--- a/lbitlib.c
|
|
+++ b/lbitlib.c
|
|
@@ -15,7 +15,7 @@
|
|
/********************************************************************/
|
|
#if defined(LUA_VERSION_NUM) && LUA_VERSION_NUM == 501
|
|
#include "compat-5.2.c"
|
|
-#elif defined(LUA_VERSION_NUM) && LUA_VERSION_NUM == 503
|
|
+#elif defined(LUA_VERSION_NUM) && LUA_VERSION_NUM >= 503
|
|
#define luaL_checkunsigned(L, n) ((lua_Unsigned)luaL_checkinteger((L), (n)))
|
|
#define lua_pushunsigned(L, n) (lua_pushinteger(L, (lua_Integer)(n)))
|
|
#endif
|