diff options
author | Richard Stallman <rms@gnu.org> | 1993-11-15 02:08:56 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-11-15 02:08:56 +0000 |
commit | 116c9aab44ca6baa493e7bbbdb6231e3d795523d (patch) | |
tree | 67b47599491f04e02c5a48d10f9188c4bcb41713 /gcc/ginclude | |
parent | 3d709ff063605677945823394a0d6748c3206e95 (diff) | |
download | gcc-116c9aab44ca6baa493e7bbbdb6231e3d795523d.zip gcc-116c9aab44ca6baa493e7bbbdb6231e3d795523d.tar.gz gcc-116c9aab44ca6baa493e7bbbdb6231e3d795523d.tar.bz2 |
Test __bsdi__ like __BSD_NET2__.
From-SVN: r6093
Diffstat (limited to 'gcc/ginclude')
-rw-r--r-- | gcc/ginclude/stdarg.h | 4 | ||||
-rw-r--r-- | gcc/ginclude/varargs.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ginclude/stdarg.h b/gcc/ginclude/stdarg.h index 822618d..00ed696 100644 --- a/gcc/ginclude/stdarg.h +++ b/gcc/ginclude/stdarg.h @@ -136,13 +136,13 @@ typedef __gnuc_va_list va_list; But on BSD NET2 we must not test or define or undef it. (Note that the comments in NET 2's ansi.h are incorrect for _VA_LIST_--see stdio.h!) */ -#if !defined (_VA_LIST_) || defined (__BSD_NET2__) || defined (____386BSD____) +#if !defined (_VA_LIST_) || defined (__BSD_NET2__) || defined (____386BSD____) || defined (__bsdi__) /* The macro _VA_LIST is used in SCO Unix 3.2. */ #ifndef _VA_LIST /* The macro _VA_LIST_T_H is used in the Bull dpx2 */ #ifndef _VA_LIST_T_H #define _VA_LIST_T_H -#if !(defined (__BSD_NET2__) || defined (____386BSD____)) +#if !(defined (__BSD_NET2__) || defined (____386BSD____) || defined (__bsdi__)) #define _VA_LIST_ #endif #define _VA_LIST diff --git a/gcc/ginclude/varargs.h b/gcc/ginclude/varargs.h index 974b2ad..ba3b4e2 100644 --- a/gcc/ginclude/varargs.h +++ b/gcc/ginclude/varargs.h @@ -150,13 +150,13 @@ typedef __gnuc_va_list va_list; /* Michael Eriksson <mer@sics.se> at Thu Sep 30 11:00:57 1993: Sequent defines _VA_LIST_ in <machine/machtypes.h> to be the type to use for va_list (``typedef _VA_LIST_ va_list'') */ -#if !defined (_VA_LIST_) || defined (__BSD_NET2__) || defined (____386BSD____) || defined (__sequent__) +#if !defined (_VA_LIST_) || defined (__BSD_NET2__) || defined (____386BSD____) || defined (__bsdi__) || defined (__sequent__) /* The macro _VA_LIST is used in SCO Unix 3.2. */ #ifndef _VA_LIST /* The macro _VA_LIST_T_H is used in the Bull dpx2 */ #ifndef _VA_LIST_T_H #define _VA_LIST_T_H -#if !(defined (__BSD_NET2__) || defined (____386BSD____) || defined (__sequent__)) +#if !(defined (__BSD_NET2__) || defined (____386BSD____) || defined (__bsdi__) || defined (__sequent__)) #define _VA_LIST_ #endif #define _VA_LIST |