aboutsummaryrefslogtreecommitdiff
path: root/gcc/ginclude
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-04-25 14:22:17 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1994-04-25 14:22:17 -0400
commit6c68c4abdd5bf08314198ccc461a628c9a719068 (patch)
tree3eba2dd22faf7077c1be6acb344cb5b229fd542d /gcc/ginclude
parent157735e867d943d8625064fb7a9c6753ae400cde (diff)
downloadgcc-6c68c4abdd5bf08314198ccc461a628c9a719068.zip
gcc-6c68c4abdd5bf08314198ccc461a628c9a719068.tar.gz
gcc-6c68c4abdd5bf08314198ccc461a628c9a719068.tar.bz2
Recognize __FreeBSD__.
From-SVN: r7153
Diffstat (limited to 'gcc/ginclude')
-rw-r--r--gcc/ginclude/stdarg.h4
-rw-r--r--gcc/ginclude/stddef.h2
-rw-r--r--gcc/ginclude/varargs.h4
3 files changed, 5 insertions, 5 deletions
diff --git a/gcc/ginclude/stdarg.h b/gcc/ginclude/stdarg.h
index 55ac26e..27a37fc 100644
--- a/gcc/ginclude/stdarg.h
+++ b/gcc/ginclude/stdarg.h
@@ -142,13 +142,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____) || defined (__bsdi__)
+#if !defined (_VA_LIST_) || defined (__BSD_NET2__) || defined (____386BSD____) || defined (__bsdi__) || defined (__FreeBSD__)
/* 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 (__bsdi__))
+#if !(defined (__BSD_NET2__) || defined (____386BSD____) || defined (__bsdi__) || defined (__FreeBSD__))
#define _VA_LIST_
#endif
#define _VA_LIST
diff --git a/gcc/ginclude/stddef.h b/gcc/ginclude/stddef.h
index 185ae38..72753ae 100644
--- a/gcc/ginclude/stddef.h
+++ b/gcc/ginclude/stddef.h
@@ -22,7 +22,7 @@
/* On 4.3bsd-net2, make sure ansi.h is included, so we have
one less case to deal with in the following. */
-#if defined (__BSD_NET2__) || defined (____386BSD____)
+#if defined (__BSD_NET2__) || defined (____386BSD____) || defined (__FreeBSD__)
#include <machine/ansi.h>
#endif
diff --git a/gcc/ginclude/varargs.h b/gcc/ginclude/varargs.h
index 4be06a6..18870fe 100644
--- a/gcc/ginclude/varargs.h
+++ b/gcc/ginclude/varargs.h
@@ -155,13 +155,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 (__bsdi__) || defined (__sequent__)
+#if !defined (_VA_LIST_) || defined (__BSD_NET2__) || defined (____386BSD____) || defined (__bsdi__) || defined (__sequent__) || defined (__FreeBSD__)
/* 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 (__bsdi__) || defined (__sequent__))
+#if !(defined (__BSD_NET2__) || defined (____386BSD____) || defined (__bsdi__) || defined (__sequent__) || defined (__FreeBSD__))
#define _VA_LIST_
#endif
#define _VA_LIST