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 ? Alan.