lua

A copy of the Lua development repository
Log | Files | Refs | README

commit d34271fe42580c6d93462b4460cb900f604142c9
parent d120ec29ca6bae7a8f0040c7a0cee27aca7dd81a
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Fri, 29 Apr 2011 10:56:04 -0300

MacOS 'strtod' handles hexa formats too

Diffstat:
Mluaconf.h | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/luaconf.h b/luaconf.h @@ -1,5 +1,5 @@ /* -** $Id: luaconf.h,v 1.155 2011/04/20 16:36:28 roberto Exp roberto $ +** $Id: luaconf.h,v 1.156 2011/04/20 18:25:54 roberto Exp roberto $ ** Configuration file for Lua ** See Copyright Notice in lua.h */ @@ -53,6 +53,7 @@ #define LUA_USE_POSIX #define LUA_USE_DLOPEN /* does not need -ldl */ #define LUA_USE_READLINE /* needs an extra library: -lreadline */ +#define LUA_USE_STRTODHEX /* assume 'strtod' handles hexa formats */ #define LUA_USE_AFORMAT /* assume 'printf' handles 'aA' specifiers */ #define LUA_USE_LONGLONG /* assume support for long long */ #endif