commit 35389457bd64d677e1987f48df493d1a9166b065 Author: Alexey Tourbin Date: Mon Sep 28 03:39:31 2009 +0400 lauxlib.c: compile COMPAT_GETN for ABI compat diff --git a/src/lauxlib.c b/src/lauxlib.c index 10f14e2..5dbb1af 100644 --- a/src/lauxlib.c +++ b/src/lauxlib.c @@ -275,7 +275,9 @@ LUALIB_API void luaI_openlib (lua_State *L, const char *libname, ** ======================================================= */ -#if defined(LUA_COMPAT_GETN) +#if defined(LUA_COMPAT_GETN) || 1 /* XXX ABI compat */ +#undef luaL_getn +#undef luaL_setn static int checkint (lua_State *L, int topop) { int n = (lua_type(L, -1) == LUA_TNUMBER) ? lua_tointeger(L, -1) : -1;