From 98816d0ce58db9e817129b076723187d690501df Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 28 Feb 2011 14:32:10 -0300 Subject: small problems with 'luaone.c' --- llimits.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'llimits.h') diff --git a/llimits.h b/llimits.h index 02b10fe4..72f32a8d 100644 --- a/llimits.h +++ b/llimits.h @@ -1,5 +1,5 @@ /* -** $Id: llimits.h,v 1.86 2010/12/23 15:38:28 roberto Exp roberto $ +** $Id: llimits.h,v 1.87 2011/02/01 16:52:38 roberto Exp roberto $ ** Limits, basic types, and some other `installation-dependent' definitions ** See Copyright Notice in lua.h */ @@ -250,7 +250,7 @@ union luai_Cast { double l_d; LUA_INT32 l_p[2]; }; -#if defined(ltable_c) && !defined(luai_hashnum) /* { */ +#if (defined(ltable_c) || defined(luaall_c)) && !defined(luai_hashnum) #include #include @@ -259,7 +259,7 @@ union luai_Cast { double l_d; LUA_INT32 l_p[2]; }; n = frexp(n, &e) * (lua_Number)(INT_MAX - DBL_MAX_EXP); \ lua_number2int(i, n); i += e; } -#endif /* } */ +#endif -- cgit v1.2.3-55-g6feb