| 1 | diff --git a/lbitlib.c b/lbitlib.c
|
| 2 | index 24ceac6..fbbcc58 100644
|
| 3 | |
| 4 | |
| 5 | @@ -15,7 +15,7 @@
|
| 6 | /********************************************************************/
|
| 7 | #if defined(LUA_VERSION_NUM) && LUA_VERSION_NUM == 501
|
| 8 | #include "compat-5.2.c"
|
| 9 | -#elif defined(LUA_VERSION_NUM) && LUA_VERSION_NUM == 503
|
| 10 | +#elif defined(LUA_VERSION_NUM) && LUA_VERSION_NUM >= 503
|
| 11 | #define luaL_checkunsigned(L, n) ((lua_Unsigned)luaL_checkinteger((L), (n)))
|
| 12 | #define lua_pushunsigned(L, n) (lua_pushinteger(L, (lua_Integer)(n)))
|
| 13 | #endif
|