commit 75812a517bf03a6b213bcfc0c14989b45230f344
parent 151dc5cc5ffd57aa7a9f448f323baa57571f33b2
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Tue, 16 Dec 2014 14:19:36 -0200
added macro LUA_USE_I64 for separate control of use of Windows-specific
types
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/luaconf.h b/luaconf.h
@@ -1,5 +1,5 @@
/*
-** $Id: luaconf.h,v 1.232 2014/12/12 11:49:32 roberto Exp roberto $
+** $Id: luaconf.h,v 1.233 2014/12/13 17:57:00 roberto Exp roberto $
** Configuration file for Lua
** See Copyright Notice in lua.h
*/
@@ -55,6 +55,7 @@
#if defined(LUA_USE_WINDOWS)
#define LUA_DL_DLL /* enable support for DLL */
#define LUA_USE_C89 /* broadly, Windows is C89 */
+#define LUA_USE_I64 /* use Windows-specifc type for 64-bit integers */
#endif
@@ -565,7 +566,7 @@
#elif defined(LUA_INT_LONGLONG) /* }{ long long */
-#if defined(LUA_USE_WINDOWS) /* { */
+#if defined(LUA_USE_I64) /* { */
#define LUA_INTEGER __int64
#define LUA_INTEGER_FRMLEN "I64"