summaryrefslogtreecommitdiff
path: root/gcc/ginclude
diff options
context:
space:
mode:
authorbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-09 04:56:25 +0000
committerbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-09 04:56:25 +0000
commit158da7c08cce33545afc7912b57e625c1d5bd610 (patch)
treefe6e555112eefa613ddbf4f0cad262dbb97c2ee7 /gcc/ginclude
parent29496e41eabe4ff35dd0c757a6a8dbcfb3622b5c (diff)
downloadgcc-158da7c08cce33545afc7912b57e625c1d5bd610.tar.gz
* ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
gets undefined. For Darwin. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48672 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ginclude')
-rw-r--r--gcc/ginclude/stddef.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ginclude/stddef.h b/gcc/ginclude/stddef.h
index cce87e5b6ed..78a048b5e19 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