gcc/ginclude/stddef.h fix for BSD/OS
Jeffrey A Law
law@cygnus.com
Sat Apr 4 11:58:00 GMT 1998
In message < 19980404190006Q.shigeya@foretune.co.jp >you write:
> I forgot to report this... Following fix is require to build current
> egcs (actually, stdlibc++) on BSD/OS.
>
> Please merge this.
>
> Shigeya Suzuki
>
>
> *** stddef.h Sat Apr 4 17:48:59 1998
> --- stddef.h.new Sat Apr 4 15:38:47 1998
> ***************
> *** 24,30 ****
>
> /* On 4.3bsd-net2, make sure ansi.h is included, so we have
> one less case to deal with in the following. */
> ! #if defined (__BSD_NET2__) || defined (____386BSD____) || defined (__Free
> BSD__) || defined(__NetBSD__)
> #include <machine/ansi.h>
> #endif
>
> --- 24,30 ----
>
> /* On 4.3bsd-net2, make sure ansi.h is included, so we have
> one less case to deal with in the following. */
> ! #if defined (__BSD_NET2__) || defined (____386BSD____) || defined (__Free
> BSD__) || defined(__NetBSD__) || defined(__bsdi__)
> #include <machine/ansi.h>
> #endif
Doesn't BSDI define BSD_NET2, ____386BSD____?
jeff
More information about the Gcc-bugs
mailing list