OSDN Git Service

* ginclude/stddef.h (_BSD_SIZE_T_DEFINED_): Define if not defined,
authorshebs <shebs@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Aug 2002 06:09:14 +0000 (06:09 +0000)
committershebs <shebs@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Aug 2002 06:09:14 +0000 (06:09 +0000)
        plays nice with Darwin headers.
        (_BSD_RUNE_T_DEFINED_): Likewise. (from Andr

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55971 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/ginclude/stddef.h

index d0c32e5..1bd347f 100644 (file)
@@ -1,3 +1,10 @@
+2002-08-01  Stan Shebs  <shebs@apple.com>
+           Andreas Tobler  <toa@pop.agri.ch>
+
+       * ginclude/stddef.h (_BSD_SIZE_T_DEFINED_): Define if not defined,
+       plays nice with Darwin headers.
+       (_BSD_RUNE_T_DEFINED_): Likewise. (from Andr
+
 2002-08-01  Zack Weinberg  <zack@codesourcery.com>
 
        * c-common.c (c_common_init): -Wtraditional also implies -Wlong-long.
index 78a048b..d122a7d 100644 (file)
@@ -175,6 +175,7 @@ typedef __PTRDIFF_TYPE__ ptrdiff_t;
 #ifndef _BSD_SIZE_T_
 #ifndef _SIZE_T_DEFINED_
 #ifndef _SIZE_T_DEFINED
+#ifndef _BSD_SIZE_T_DEFINED_   /* Darwin */
 #ifndef ___int_size_t_h
 #ifndef _GCC_SIZE_T
 #ifndef _SIZET_
@@ -190,6 +191,7 @@ typedef __PTRDIFF_TYPE__ ptrdiff_t;
 #define _BSD_SIZE_T_
 #define _SIZE_T_DEFINED_
 #define _SIZE_T_DEFINED
+#define _BSD_SIZE_T_DEFINED_   /* Darwin */
 #define ___int_size_t_h
 #define _GCC_SIZE_T
 #define _SIZET_
@@ -207,6 +209,7 @@ typedef long ssize_t;
 #endif /* _SIZET_ */
 #endif /* _GCC_SIZE_T */
 #endif /* ___int_size_t_h */
+#endif /* _BSD_SIZE_T_DEFINED_ */
 #endif /* _SIZE_T_DEFINED */
 #endif /* _SIZE_T_DEFINED_ */
 #endif /* _BSD_SIZE_T_ */
@@ -239,6 +242,7 @@ typedef long ssize_t;
 #ifndef _WCHAR_T_
 #ifndef _BSD_WCHAR_T_
 #ifndef _BSD_WCHAR_T_DEFINED_    /* Darwin */
+#ifndef _BSD_RUNE_T_DEFINED_   /* Darwin */
 #ifndef _WCHAR_T_DEFINED_
 #ifndef _WCHAR_T_DEFINED
 #ifndef _WCHAR_T_H
@@ -276,6 +280,7 @@ typedef long ssize_t;
 #if !defined (_ANSI_SOURCE) && !defined (_POSIX_SOURCE)
 typedef _BSD_RUNE_T_ rune_t;
 #define _BSD_WCHAR_T_DEFINED_
+#define _BSD_RUNE_T_DEFINED_   /* Darwin */
 #if defined (__FreeBSD__)
 /* Why is this file so hard to maintain properly?  In constrast to
    the comment above regarding BSD/386 1.1, on FreeBSD for as long
@@ -299,6 +304,7 @@ typedef __WCHAR_TYPE__ wchar_t;
 #endif
 #endif
 #endif
+#endif /* _BSD_RUNE_T_DEFINED_ */
 #endif
 #endif
 #endif