[__svr4__ __i860__]: Define _VA_LIST only if not defined already.
authorRichard Stallman <rms@gnu.org>
Mon, 17 May 1993 17:56:32 +0000 (17:56 +0000)
committerRichard Stallman <rms@gnu.org>
Mon, 17 May 1993 17:56:32 +0000 (17:56 +0000)
From-SVN: r4486

gcc/ginclude/stdarg.h
gcc/ginclude/varargs.h

index 986240bdec27375d96048db9e45a06999d960699..dfa734ba39c61c97c40799ebe75d82042d504c7c 100644 (file)
@@ -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__ */
index 7e92ba314d16919e22415c43d25a118c904913ca..d0ebba2bb4459cee8a394f6d96bdbcb6401165d3 100644 (file)
@@ -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_ */