From 51eeee3ed156d030535c34759e6a6462c14d01d5 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Mon, 17 May 1993 17:56:32 +0000 Subject: [PATCH] [__svr4__ __i860__]: Define _VA_LIST only if not defined already. From-SVN: r4486 --- gcc/ginclude/stdarg.h | 2 ++ gcc/ginclude/varargs.h | 2 ++ 2 files changed, 4 insertions(+) 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_ */ -- 2.30.2