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. You can define _GNU_SOURCE on any platform (and it will have no effect except on glibc systems), but you must not define __USE_GNU. The two underscores with which this identifier starts make it easy to remember. Bruno