From: Simon Josefsson Date: Mon, 20 Oct 2008 10:08:43 +0000 (+0200) Subject: lib/netdb.in.h: Don't define GNU specific constants. X-Git-Tag: v0.1~6804 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=e55f1a85b97d183fd5c49ead1fc21711edb529cf;p=gnulib.git lib/netdb.in.h: Don't define GNU specific constants. Reported by Bruno Haible . --- diff --git a/ChangeLog b/ChangeLog index 808510e58..2414e6fcc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2008-10-20 Simon Josefsson + * lib/netdb.in.h: Don't define GNU specific constants until they + are supported or needed. Reported by Bruno Haible + . + +2008-10-20 Simon Josefsson + * lib/getaddrinfo.h: Remove file. * modules/getaddrinfo: Reflect move from getaddrinfo.h to netdb.h. * m4/getaddrinfo.m4: Call gl_HEADER_NETDB. Don't check for netdb.h. diff --git a/lib/netdb.in.h b/lib/netdb.in.h index e8121aac4..03996464a 100644 --- a/lib/netdb.in.h +++ b/lib/netdb.in.h @@ -123,7 +123,11 @@ struct addrinfo # define EAI_SYSTEM -11 /* System error returned in `errno'. */ # endif -# ifdef __USE_GNU +# if 0 +/* The commented out definitions below are not yet implemented in the + GNULIB getaddrinfo() replacement, so are not yet needed. + + If they are restored, be sure to protect the definitions with #ifndef. */ # ifndef EAI_INPROGRESS # define EAI_INPROGRESS -100 /* Processing request in progress. */ # define EAI_CANCELED -101 /* Request canceled. */