2
0
Эх сурвалжийг харах

'LUA_USELONGLONG' -> 'LUA_USE_LONGLONG'

Roberto Ierusalimschy 14 жил өмнө
parent
commit
bad231c481
2 өөрчлөгдсөн 4 нэмэгдсэн , 4 устгасан
  1. 2 2
      lstrlib.c
  2. 2 2
      luaconf.h

+ 2 - 2
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

+ 2 - 2
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)