diff --git a/lstrlib.c b/lstrlib.c index ccecd311..656953b8 100644 --- a/lstrlib.c +++ b/lstrlib.c @@ -1,5 +1,5 @@ /* -** $Id: lstrlib.c,v 1.164 2011/02/07 19:15:24 roberto Exp roberto $ +** $Id: lstrlib.c,v 1.165 2011/03/18 19:02:33 roberto Exp roberto $ ** Standard library for string operations and pattern-matching ** See Copyright Notice in lua.h */ @@ -743,7 +743,7 @@ static int str_gsub (lua_State *L) { ** the previous length */ #if !defined(LUA_INTFRMLEN) /* { */ -#if defined(LUA_USELONGLONG) +#if defined(LUA_USE_LONGLONG) #define LUA_INTFRMLEN "ll" #define LUA_INTFRM_T long long diff --git a/luaconf.h b/luaconf.h index f6c89920..1df68fd4 100644 --- a/luaconf.h +++ b/luaconf.h @@ -1,5 +1,5 @@ /* -** $Id: luaconf.h,v 1.153 2010/12/10 19:03:46 roberto Exp roberto $ +** $Id: luaconf.h,v 1.154 2011/04/19 18:31:30 roberto Exp roberto $ ** Configuration file for Lua ** See Copyright Notice in lua.h */ @@ -46,7 +46,7 @@ #define LUA_USE_READLINE /* needs some extra libraries */ #define LUA_USE_STRTODHEX /* assume 'strtod' handles hexa formats */ #define LUA_USE_AFORMAT /* assume 'printf' handles 'aA' specifiers */ -#define LUA_USELONGLONG /* assume support for long long */ +#define LUA_USE_LONGLONG /* assume support for long long */ #endif #if defined(LUA_USE_MACOSX)