diff options
-rw-r--r-- | lauxlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lauxlib.c,v 1.150 2005/08/26 17:32:05 roberto Exp roberto $ | 2 | ** $Id: lauxlib.c,v 1.151 2005/08/26 17:36:32 roberto Exp roberto $ |
3 | ** Auxiliary functions for building Lua libraries | 3 | ** Auxiliary functions for building Lua libraries |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -262,7 +262,7 @@ LUALIB_API void luaI_openlib (lua_State *L, const char *libname, | |||
262 | ** ======================================================= | 262 | ** ======================================================= |
263 | */ | 263 | */ |
264 | 264 | ||
265 | #ifndef luaL_getn | 265 | #if defined(LUA_COMPAT_GETN) |
266 | 266 | ||
267 | static int checkint (lua_State *L, int topop) { | 267 | static int checkint (lua_State *L, int topop) { |
268 | int n = (lua_type(L, -1) == LUA_TNUMBER) ? lua_tointeger(L, -1) : -1; | 268 | int n = (lua_type(L, -1) == LUA_TNUMBER) ? lua_tointeger(L, -1) : -1; |