From 348fd37cfc0d97803eee85b797c50d8a40afbb81 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Mon, 13 Jan 1992 20:08:55 +0000 Subject: [PATCH] *** empty log message *** From-SVN: r180 --- gcc/ginclude/varargs.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gcc/ginclude/varargs.h b/gcc/ginclude/varargs.h index a33aac1be60..30849b57885 100644 --- a/gcc/ginclude/varargs.h +++ b/gcc/ginclude/varargs.h @@ -58,9 +58,17 @@ /* The ... causes current_function_varargs to be set in cc1. */ #define va_dcl int __builtin_va_alist; __va_ellipsis +/* The macro _VA_LIST_ is the same thing used by this file in Ultrix. */ +#ifndef _VA_LIST_ +/* The macro _VA_LIST is used in SCO Unix 3.2. */ +#ifndef _VA_LIST +#define _VA_LIST_ +#define _VA_LIST /* Make this a macro rather than a typedef, so we can undef any other defn. */ #define va_list __va___list typedef char * __va___list; +#endif /* _VA_LIST */ +#endif /* _VA_LIST_ */ #define va_start(AP) AP=(char *) &__builtin_va_alist -- 2.30.2