Recognize __FreeBSD__.
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 25 Apr 1994 18:22:17 +0000 (14:22 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 25 Apr 1994 18:22:17 +0000 (14:22 -0400)
From-SVN: r7153

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

index 55ac26e0847807665429ea60bbcca2ae82095326..27a37fc54a810371c840c86e05db7e04adbf0bc0 100644 (file)
@@ -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
index 185ae38fc4de217003bc9d12104a7f63c86b7096..72753ae67c4373c758321fdb843c99482b0e0c3c 100644 (file)
@@ -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
 
index 4be06a640091c9df85bd4315804dd26a75832812..18870fe8648d2412c390b3a6a75e3e3770b2e06c 100644 (file)
@@ -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