Re: [Patch] stdio-impl.h has too indiscriminate #ifdef

2010-04-05 Thread Hauke Fath
At 0:15 Uhr +0100 5.4.2010, Bruno Haible wrote: >I'm applying this patch. Thanks a lot! hauke -- "It's never straight up and down" (DEVO)

Re: [Patch] stdio-impl.h has too indiscriminate #ifdef

2010-04-04 Thread Bruno Haible
Hi Hauke, > -- it should actually be > > if (defined __NetBSD__ && __NetBSD_Version__ >= 10527) > > where __NetBSD_Version__ is defined in , in the kernel source > tree at src/sys/sys/param.h. > > The relevant version bump of this file is >

Re: [Patch] stdio-impl.h has too indiscriminate #ifdef

2010-04-04 Thread Hauke Fath
At 21:57 Uhr +0100 4.4.2010, Bruno Haible wrote: >Hi, > >Hauke Fath wrote: >> -# if defined __NetBSD__ || defined __OpenBSD__ /* NetBSD, OpenBSD */ >> +# if (defined __NetBSD__ && __NetBSD__ >= 10527) || defined >>__OpenBSD__ /* NetBSD, OpenBSD */ > >The introduction of the '_ext' field happene

Re: [Patch] stdio-impl.h has too indiscriminate #ifdef

2010-04-04 Thread Bruno Haible
Hi, Hauke Fath wrote: > -# if defined __NetBSD__ || defined __OpenBSD__ /* NetBSD, OpenBSD */ > +# if (defined __NetBSD__ && __NetBSD__ >= 10527) || defined __OpenBSD__ > /* NetBSD, OpenBSD */ The introduction of the '_ext' field happened in NetBSD on 2001-12-07, according to

[Patch] stdio-impl.h has too indiscriminate #ifdef

2010-04-04 Thread Hauke Fath
Hi, I am seeing a build failure of Gnu m4 on NetBSD 1.5 [...] source='freadahead.c' object='freadahead.o' libtool=no DEPDIR=.deps depmode=gcc /bin/sh ../build-aux/depcomp cc -I. - O2 -pipe -c freadahead.c freadahead.c: In function `freadahead': freadahead.c:41: structure has no member nam