On Sat, 2009-01-17 at 13:55 +0000, Alan Hourihane wrote: > On Sat, 2009-01-17 at 13:50 +0000, Alan Hourihane wrote: > > On Thu, 2009-01-15 at 21:47 +0100, Bruno Haible wrote: > > > Hello, > > > > > > Alan Hourihane wrote: > > > > On platforms that don't have them yet, and because gnulib doesn't > > > > support them (or use them currently) we need to change line 53 in > > > > gai_strerror.c from > > > > > > > > #ifdef __USE_GNU > > > > > > > > to just... > > > > > > > > #if 0 > > > > > > > > Which allows gllib to build on platforms that don't have the extra > > > > definitions. > > > > > > __USE_GNU is not supposed to be defined on any platform except on glibc > > > platforms, and glibc platforms have the macros EAI_INPROGRESS ... > > > EAI_IDN_ENCODE. > > > > Mmm. So why define them again with __USE_GNU in the replacement function > > if glibc already exports them ? > > Nevermind. I'll fix it over here.
O.k. the alternate way I fixed it is the opposite to what the replacement netdb.h.in is doing, even though it isn't used yet, so I removed... #ifdef __USE_GNU and put in #ifdef EAI_INPROGRESS Alan.