[PATCH] USER_H tweak for NetBSD
Krister Walfridsson
cato@df.lth.se
Sat Dec 7 14:43:00 GMT 2002
On Sat, 7 Dec 2002, Jason R Thorpe wrote:
> On Sat, Dec 07, 2002 at 11:25:49PM +0100, Krister Walfridsson wrote:
>
> > > * config/t-netbsd (USER_H): Set to $(EXTRA_HEADERS).
> >
> > NetBSD does not have stdbool.h, so you need to add it to USER_H.
>
> Actually, it does, but it is not installed by default, since the system
> compiler doesn't grok the "_Bool" type.
>
> I suppose I could add stdbool.h back to USER_H, but once NetBSD integrates
> GCC 3.3, I'm going to want to remove it again.
It should still be there for older versions of NetBSD so that people
installing a new gcc on NetBSD 1.6 get a C99 compiler environment,
regardless of the ontological status of stdbool.h on newer versions
of NetBSD.
/Krister
More information about the Gcc-patches
mailing list