diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-10-27 16:06:03 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-10-27 16:06:03 -0200 |
commit | 41d0e661846275994262f7e94c879d02254ef0ef (patch) | |
tree | f9471588a7db3bb6ded15a0b47040333b80b77f6 /luaconf.h | |
parent | aa1bd8876c4963209874e85d5665b17f8a557ff7 (diff) | |
download | lua-41d0e661846275994262f7e94c879d02254ef0ef.tar.gz lua-41d0e661846275994262f7e94c879d02254ef0ef.tar.bz2 lua-41d0e661846275994262f7e94c879d02254ef0ef.zip |
comments + Windows numeric types not used if LUA_ANSI is defined
Diffstat (limited to 'luaconf.h')
-rw-r--r-- | luaconf.h | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: luaconf.h,v 1.221 2014/10/24 11:42:47 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.222 2014/10/27 16:59:31 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 | */ |
@@ -23,10 +23,11 @@ | |||
23 | @@ LUA_REAL_FLOAT / LUA_REAL_DOUBLE / LUA_REAL_LONGDOUBLE defines | 23 | @@ LUA_REAL_FLOAT / LUA_REAL_DOUBLE / LUA_REAL_LONGDOUBLE defines |
24 | @@ type for Lua floats. You must define one of them. | 24 | @@ type for Lua floats. You must define one of them. |
25 | ** | 25 | ** |
26 | ** These definitions set the numeric types for Lua. Lua should work fine | 26 | ** These definitions set the numeric types for Lua. Lua should work |
27 | ** with any mix of these previous options. The usual configurations | 27 | ** fine with any mix of these previous options (if supported by your |
28 | ** are 64-bit integers and floats (the default) and 32-bit integers and | 28 | ** C compiler). The usual configurations are 64-bit integers and |
29 | ** floats (Small Lua, for restricted platforms). | 29 | ** 'double' (the default) and 32-bit integers and 'float' (Small Lua, |
30 | ** for restricted platforms). | ||
30 | ** | 31 | ** |
31 | ** Note that C compilers not compliant with C99 may not have | 32 | ** Note that C compilers not compliant with C99 may not have |
32 | ** support for 'long long'. In that case, you should not use option | 33 | ** support for 'long long'. In that case, you should not use option |
@@ -659,7 +660,7 @@ | |||
659 | 660 | ||
660 | #elif defined(LUA_INT_LONGLONG) /* }{ long long */ | 661 | #elif defined(LUA_INT_LONGLONG) /* }{ long long */ |
661 | 662 | ||
662 | #if defined(_WIN32) | 663 | #if defined(LUA_WIN) |
663 | 664 | ||
664 | #define LUA_INTEGER __int64 | 665 | #define LUA_INTEGER __int64 |
665 | #define LUA_INTEGER_FRMLEN "I64" | 666 | #define LUA_INTEGER_FRMLEN "I64" |