* ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.

From-SVN: r31988
This commit is contained in:
Loren J. Rittle 2000-02-15 21:04:53 +00:00 committed by Gerald Pfeifer
parent 2d759f7165
commit 17eb795180
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2000-02-15 Loren Rittle <ljrittle@acm.org>
* ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
2000-02-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,

View File

@ -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