diff options
author | Richard Stallman <rms@gnu.org> | 1993-05-17 17:56:32 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-05-17 17:56:32 +0000 |
commit | 51eeee3ed156d030535c34759e6a6462c14d01d5 (patch) | |
tree | 7d2174eccae594dafb6bdef10fe5af0062f991c6 | |
parent | 823c6f606d4ff0a0b4259ff7bed0770fd649690c (diff) | |
download | gcc-51eeee3ed156d030535c34759e6a6462c14d01d5.zip gcc-51eeee3ed156d030535c34759e6a6462c14d01d5.tar.gz gcc-51eeee3ed156d030535c34759e6a6462c14d01d5.tar.bz2 |
[__svr4__ __i860__]: Define _VA_LIST only if not defined already.
From-SVN: r4486
-rw-r--r-- | gcc/ginclude/stdarg.h | 2 | ||||
-rw-r--r-- | gcc/ginclude/varargs.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ginclude/stdarg.h b/gcc/ginclude/stdarg.h index 986240b..dfa734b 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 7e92ba3..d0ebba2 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_ */ |