diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-11-25 16:21:57 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-11-25 16:21:57 -0200 |
commit | ad79eafe86a01a761874db14b789a41f4f7f77e6 (patch) | |
tree | f5316f6943893a921a38ad7f34ec9455b8da0270 /luaconf.h | |
parent | fd179ab4b89ff39740aec11623863b5c06098479 (diff) | |
download | lua-ad79eafe86a01a761874db14b789a41f4f7f77e6.tar.gz lua-ad79eafe86a01a761874db14b789a41f4f7f77e6.tar.bz2 lua-ad79eafe86a01a761874db14b789a41f4f7f77e6.zip |
details (comments)
Diffstat (limited to 'luaconf.h')
-rw-r--r-- | luaconf.h | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: luaconf.h,v 1.228 2014/11/19 15:00:42 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.229 2014/11/21 12:15: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 | */ |
@@ -38,7 +38,8 @@ | |||
38 | 38 | ||
39 | /* | 39 | /* |
40 | @@ LUA_USE_C89 controls the use of non-ISO-C89 features. | 40 | @@ LUA_USE_C89 controls the use of non-ISO-C89 features. |
41 | ** Define it if you want Lua to avoid the use of a few C99 features. | 41 | ** Define it if you want Lua to avoid the use of a few C99 features |
42 | ** or Windows-specific features on Windows. | ||
42 | */ | 43 | */ |
43 | /* #define LUA_USE_C89 */ | 44 | /* #define LUA_USE_C89 */ |
44 | 45 | ||
@@ -73,9 +74,7 @@ | |||
73 | 74 | ||
74 | 75 | ||
75 | /* | 76 | /* |
76 | @@ LUAI_BITSINT defines the (minimum) number of bits in an int. | 77 | @@ LUAI_BITSINT defines the (minimum) number of bits in an 'int'. |
77 | ** CHANGE here if Lua cannot automatically detect the number of bits of | ||
78 | ** your machine. Probably you do not need to change this. | ||
79 | */ | 78 | */ |
80 | /* avoid undefined shifts */ | 79 | /* avoid undefined shifts */ |
81 | #if ((INT_MAX >> 15) >> 15) >= 1 | 80 | #if ((INT_MAX >> 15) >> 15) >= 1 |
@@ -112,7 +111,7 @@ | |||
112 | 111 | ||
113 | #elif defined(LUA_USE_C89) && !defined(LUA_USE_WINDOWS) /* }{ */ | 112 | #elif defined(LUA_USE_C89) && !defined(LUA_USE_WINDOWS) /* }{ */ |
114 | /* | 113 | /* |
115 | ** use largerst types available for C89 ('long' and 'double'); | 114 | ** use largest types available for C89 ('long' and 'double'); |
116 | ** Windows has '__int64', so does not need to use this case | 115 | ** Windows has '__int64', so does not need to use this case |
117 | */ | 116 | */ |
118 | #define LUA_INT_LONG | 117 | #define LUA_INT_LONG |