From 38da9d568a4702a6f9405882db56c2a2aa3189c1 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 20 May 2005 16:09:05 -0300 Subject: better use defined/undefined as flag values for macros --- ldo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ldo.c') diff --git a/ldo.c b/ldo.c index dc6da54f..d9e5a889 100644 --- a/ldo.c +++ b/ldo.c @@ -1,5 +1,5 @@ /* -** $Id: ldo.c,v 2.22 2005/04/05 13:41:29 roberto Exp roberto $ +** $Id: ldo.c,v 2.23 2005/05/03 19:01:17 roberto Exp roberto $ ** Stack and Call structure of Lua ** See Copyright Notice in lua.h */ @@ -198,7 +198,7 @@ static StkId adjust_varargs (lua_State *L, int nfixargs, int actual, for (; actual < nfixargs; ++actual) setnilvalue(L->top++); } -#if LUA_COMPAT_VARARG +#if defined(LUA_COMPAT_VARARG) if (style != NEWSTYLEVARARG) { /* compatibility with old-style vararg */ int nvar = actual - nfixargs; /* number of extra arguments */ luaC_checkGC(L); -- cgit v1.2.3-55-g6feb