Simon Josefsson wrote: > -#ifdef __USE_GNU > -# ifndef EAI_INPROGRESS > -# define EAI_INPROGRESS -100 /* Processing request in progress. */ > -# define EAI_CANCELED -101 /* Request canceled. */ > -# define EAI_NOTCANCELED -102 /* Request not canceled. */ > -# define EAI_ALLDONE -103 /* All requests done. */ > -# define EAI_INTR -104 /* Interrupted by a signal. */ > -# define EAI_IDN_ENCODE -105 /* IDN encoding failed. */ > -# endif > -#endif
The macro __USE_GNU is defined on glibc systems when compiling with -D_GNU_SOURCE. In the context of gnulib, this makes no sense. Did you mean to enable these definitions, or not? Bruno