From 2aff901c932862ccdb32c145d0034c20fe4fc41d Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 20 Apr 2011 15:25:54 -0300 Subject: [PATCH] Mac OS defines LUA_USE_AFORMAT and LUA_USE_LONGLONG by default --- luaconf.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/luaconf.h b/luaconf.h index 1df68fd4..8fa68f9b 100644 --- a/luaconf.h +++ b/luaconf.h @@ -1,5 +1,5 @@ /* -** $Id: luaconf.h,v 1.154 2011/04/19 18:31:30 roberto Exp roberto $ +** $Id: luaconf.h,v 1.155 2011/04/20 16:36:28 roberto Exp roberto $ ** Configuration file for Lua ** See Copyright Notice in lua.h */ @@ -53,6 +53,8 @@ #define LUA_USE_POSIX #define LUA_USE_DLOPEN /* does not need -ldl */ #define LUA_USE_READLINE /* needs an extra library: -lreadline */ +#define LUA_USE_AFORMAT /* assume 'printf' handles 'aA' specifiers */ +#define LUA_USE_LONGLONG /* assume support for long long */ #endif