From d34271fe42580c6d93462b4460cb900f604142c9 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 29 Apr 2011 10:56:28 -0300 Subject: [PATCH] MacOS 'strtod' handles hexa formats too --- luaconf.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/luaconf.h b/luaconf.h index 8fa68f9b..f95f93f9 100644 --- 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