diff options
Diffstat (limited to 'lib/init.c')
-rw-r--r-- | lib/init.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -17,6 +17,12 @@ static void luaL_setfuncs(lua_State *L, const luaL_Reg *l, int nup) } #endif +#if LUA_VERSION_NUM >= 503 +#define luaL_checklong(L,n) ((long)luaL_checkinteger(L, (n))) +#define luaL_checkint(L,n) ((int)luaL_checkinteger(L, (n))) +#endif + + #include "threads.c" #include "queue.c" |