# HG changeset patch # User Simon Josefsson # Date 1224497323 -7200 # Node ID bf677e4be9388838da5068a336f13c1599dace09 # Parent 5721d1f9e1ef64229b6d6bde0db24e9697847909 lib/netdb.in.h: Don't define GNU specific constants. Reported by Bruno Haible . diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +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. diff --git a/lib/netdb.in.h b/lib/netdb.in.h --- a/lib/netdb.in.h +++ b/lib/netdb.in.h @@ -123,7 +123,11 @@ # 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. */