diff options
author | gerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-15 21:04:53 +0000 |
---|---|---|
committer | gerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-15 21:04:53 +0000 |
commit | df2831126049a902620b50ebb989e05e7ffed4b4 (patch) | |
tree | de83d20892450c50c0ea11a2d7ea10b92a373b82 /gcc/ginclude | |
parent | 9941784197f1bb6f28b29c44482170d9cab126ba (diff) | |
download | gcc-df2831126049a902620b50ebb989e05e7ffed4b4.tar.gz |
* ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31988 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ginclude')
-rw-r--r-- | gcc/ginclude/stddef.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ginclude/stddef.h b/gcc/ginclude/stddef.h index ae1037fd09d..41f8f033a0d 100644 --- a/gcc/ginclude/stddef.h +++ b/gcc/ginclude/stddef.h @@ -269,6 +269,13 @@ typedef long ssize_t; #ifdef _BSD_RUNE_T_ #if !defined (_ANSI_SOURCE) && !defined (_POSIX_SOURCE) typedef _BSD_RUNE_T_ rune_t; +#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 + as the symbol has existed, _BSD_RUNE_T_ must not stay defined or + redundant typedefs will occur when stdlib.h is included after this file. */ +#undef _BSD_RUNE_T_ +#endif #endif #endif #endif |