MacOS 'strtod' handles hexa formats too

This commit is contained in:
Roberto Ierusalimschy 2011-04-29 10:56:28 -03:00
parent d120ec29ca
commit d34271fe42
1 changed files with 2 additions and 1 deletions

View File

@ -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