diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-12-16 14:20:01 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-12-16 14:20:01 -0200 |
commit | 75812a517bf03a6b213bcfc0c14989b45230f344 (patch) | |
tree | 568d64203a8de0a83f13152842b7903494dcf1f6 /luaconf.h | |
parent | 151dc5cc5ffd57aa7a9f448f323baa57571f33b2 (diff) | |
download | lua-75812a517bf03a6b213bcfc0c14989b45230f344.tar.gz lua-75812a517bf03a6b213bcfc0c14989b45230f344.tar.bz2 lua-75812a517bf03a6b213bcfc0c14989b45230f344.zip |
added macro LUA_USE_I64 for separate control of use of Windows-specific
types
Diffstat (limited to 'luaconf.h')
-rw-r--r-- | luaconf.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: luaconf.h,v 1.232 2014/12/12 11:49:32 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.233 2014/12/13 17:57:00 roberto Exp roberto $ |
3 | ** Configuration file for Lua | 3 | ** Configuration file for Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -55,6 +55,7 @@ | |||
55 | #if defined(LUA_USE_WINDOWS) | 55 | #if defined(LUA_USE_WINDOWS) |
56 | #define LUA_DL_DLL /* enable support for DLL */ | 56 | #define LUA_DL_DLL /* enable support for DLL */ |
57 | #define LUA_USE_C89 /* broadly, Windows is C89 */ | 57 | #define LUA_USE_C89 /* broadly, Windows is C89 */ |
58 | #define LUA_USE_I64 /* use Windows-specifc type for 64-bit integers */ | ||
58 | #endif | 59 | #endif |
59 | 60 | ||
60 | 61 | ||
@@ -565,7 +566,7 @@ | |||
565 | 566 | ||
566 | #elif defined(LUA_INT_LONGLONG) /* }{ long long */ | 567 | #elif defined(LUA_INT_LONGLONG) /* }{ long long */ |
567 | 568 | ||
568 | #if defined(LUA_USE_WINDOWS) /* { */ | 569 | #if defined(LUA_USE_I64) /* { */ |
569 | 570 | ||
570 | #define LUA_INTEGER __int64 | 571 | #define LUA_INTEGER __int64 |
571 | #define LUA_INTEGER_FRMLEN "I64" | 572 | #define LUA_INTEGER_FRMLEN "I64" |