From: Richard Stallman Date: Mon, 17 May 1993 17:56:32 +0000 (+0000) Subject: [__svr4__ __i860__]: Define _VA_LIST only if not defined already. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=51eeee3ed156d030535c34759e6a6462c14d01d5;p=gcc.git [__svr4__ __i860__]: Define _VA_LIST only if not defined already. From-SVN: r4486 --- diff --git a/gcc/ginclude/stdarg.h b/gcc/ginclude/stdarg.h index 986240bdec2..dfa734ba39c 100644 --- a/gcc/ginclude/stdarg.h +++ b/gcc/ginclude/stdarg.h @@ -120,8 +120,10 @@ void va_end (__gnuc_va_list); /* Defined in libgcc.a */ #ifndef _VA_LIST_ #define _VA_LIST_ #ifdef __i860__ +#ifndef _VA_LIST #define _VA_LIST va_list #endif +#endif /* __i860__ */ typedef __gnuc_va_list va_list; #endif /* _VA_LIST_ */ #else /* not __svr4__ */ diff --git a/gcc/ginclude/varargs.h b/gcc/ginclude/varargs.h index 7e92ba314d1..d0ebba2bb44 100644 --- a/gcc/ginclude/varargs.h +++ b/gcc/ginclude/varargs.h @@ -130,8 +130,10 @@ typedef void *__gnuc_va_list; #ifndef _VA_LIST_ #define _VA_LIST_ #ifdef __i860__ +#ifndef _VA_LIST #define _VA_LIST va_list #endif +#endif /* __i860__ */ typedef __gnuc_va_list va_list; #endif /* _VA_LIST_ */