Mercurial > hg > octave-lyh > gnulib-hg
changeset 10681:bf677e4be938
lib/netdb.in.h: Don't define GNU specific constants.
Reported by Bruno Haible <bruno@clisp.org>.
author | Simon Josefsson <simon@josefsson.org> |
---|---|
date | Mon, 20 Oct 2008 12:08:43 +0200 |
parents | 5721d1f9e1ef |
children | 12699f21d6b2 |
files | ChangeLog lib/netdb.in.h |
diffstat | 2 files changed, 11 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-10-20 Simon Josefsson <simon@josefsson.org> + + * lib/netdb.in.h: Don't define GNU specific constants until they + are supported or needed. Reported by Bruno Haible + <bruno@clisp.org>. + 2008-10-20 Simon Josefsson <simon@josefsson.org> * lib/getaddrinfo.h: Remove file.
--- 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. */