From 558fe9ed155602192594e40371bf4f56502c32e2 Mon Sep 17 00:00:00 2001 From: Kevin Ryde Date: Sat, 1 May 2004 21:26:35 +0000 Subject: [PATCH] (varargs.h): Remove, leave just stdarg.h which is all the code has support for. Fixes building with AIX cc, which is ansi but doesn't define __STDC__. Reported by Keith Crane. (var_start): Remove macro, this variation no longer required. (scm_list_n): Use va_start directly. --- libguile/list.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/libguile/list.c b/libguile/list.c index 12645624e..026c43d49 100644 --- a/libguile/list.c +++ b/libguile/list.c @@ -47,13 +47,7 @@ #include "libguile/validate.h" #include "libguile/list.h" -#ifdef __STDC__ #include -#define var_start(x, y) va_start(x, y) -#else -#include -#define var_start(x, y) va_start(x) -#endif /* creating lists */ @@ -111,7 +105,7 @@ scm_list_n (SCM elt, ...) SCM answer = SCM_EOL; SCM *pos = &answer; - var_start (foo, elt); + va_start (foo, elt); while (! SCM_UNBNDP (elt)) { *pos = scm_cons (elt, SCM_EOL);