From 5cb265ec677b529dfbd18bb885a73ca2c1b954b6 Mon Sep 17 00:00:00 2001 From: Bryce McKinlay Date: Wed, 9 Jan 2002 04:56:25 +0000 Subject: stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_ gets undefined. * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_ gets undefined. For Darwin. From-SVN: r48672 --- gcc/ChangeLog | 5 +++++ gcc/ginclude/stddef.h | 1 + 2 files changed, 6 insertions(+) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 727d3df..e4f66f3 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 cce87e5..78a048b 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 -- cgit v1.1