diff --git a/term/lua.trm b/term/lua.trm index 0b0d943..cd242de 100644 --- a/term/lua.trm +++ b/term/lua.trm @@ -114,6 +114,9 @@ TERM_PUBLIC void LUA_boxed_text __PROTO((unsigned int, unsigned int, int)); #include #include +//luaL_checkint macro disappeared +#define luaL_checkint(L,n) ((int)luaL_checkinteger(L, (n))) + static lua_State *L = NULL; static char *LUA_script = NULL;