diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-04-29 10:56:28 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-04-29 10:56:28 -0300 |
commit | d34271fe42580c6d93462b4460cb900f604142c9 (patch) | |
tree | 2931e005065d8df9bae5d216eb7705d7373d5de5 | |
parent | d120ec29ca6bae7a8f0040c7a0cee27aca7dd81a (diff) | |
download | lua-d34271fe42580c6d93462b4460cb900f604142c9.tar.gz lua-d34271fe42580c6d93462b4460cb900f604142c9.tar.bz2 lua-d34271fe42580c6d93462b4460cb900f604142c9.zip |
MacOS 'strtod' handles hexa formats too
-rw-r--r-- | luaconf.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: luaconf.h,v 1.155 2011/04/20 16:36:28 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.156 2011/04/20 18:25:54 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 | */ |
@@ -53,6 +53,7 @@ | |||
53 | #define LUA_USE_POSIX | 53 | #define LUA_USE_POSIX |
54 | #define LUA_USE_DLOPEN /* does not need -ldl */ | 54 | #define LUA_USE_DLOPEN /* does not need -ldl */ |
55 | #define LUA_USE_READLINE /* needs an extra library: -lreadline */ | 55 | #define LUA_USE_READLINE /* needs an extra library: -lreadline */ |
56 | #define LUA_USE_STRTODHEX /* assume 'strtod' handles hexa formats */ | ||
56 | #define LUA_USE_AFORMAT /* assume 'printf' handles 'aA' specifiers */ | 57 | #define LUA_USE_AFORMAT /* assume 'printf' handles 'aA' specifiers */ |
57 | #define LUA_USE_LONGLONG /* assume support for long long */ | 58 | #define LUA_USE_LONGLONG /* assume support for long long */ |
58 | #endif | 59 | #endif |