'LUA_USELONGLONG' -> 'LUA_USE_LONGLONG'

This commit is contained in:
Roberto Ierusalimschy 2011-04-20 13:36:28 -03:00
parent a2b1c279f1
commit bad231c481
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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)