diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 727d3df5f0d2..e4f66f36e6d0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-01-09 Bryce McKinlay + + * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_ + gets undefined. For Darwin. + 2002-01-09 Herman A.J. ten Brugge * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing. diff --git a/gcc/ginclude/stddef.h b/gcc/ginclude/stddef.h index cce87e5b6ed8..78a048b5e193 100644 --- a/gcc/ginclude/stddef.h +++ b/gcc/ginclude/stddef.h @@ -275,6 +275,7 @@ typedef long ssize_t; #ifdef _BSD_RUNE_T_ #if !defined (_ANSI_SOURCE) && !defined (_POSIX_SOURCE) typedef _BSD_RUNE_T_ rune_t; +#define _BSD_WCHAR_T_DEFINED_ #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