From 75812a517bf03a6b213bcfc0c14989b45230f344 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 16 Dec 2014 14:20:01 -0200 Subject: added macro LUA_USE_I64 for separate control of use of Windows-specific types --- luaconf.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/luaconf.h b/luaconf.h index 332cfdd6..57a4ac29 100644 --- 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" -- cgit v1.2.3-55-g6feb