]> Savannah Git Hosting - gnulib.git/commitdiff
lib/netdb.in.h: Don't define GNU specific constants.
authorSimon Josefsson <simon@josefsson.org>
Mon, 20 Oct 2008 10:08:43 +0000 (12:08 +0200)
committerSimon Josefsson <simon@josefsson.org>
Mon, 20 Oct 2008 10:08:43 +0000 (12:08 +0200)
Reported by Bruno Haible <bruno@clisp.org>.

ChangeLog
lib/netdb.in.h

index 808510e5840d20caaadc99bfa770adc181dd1ac5..2414e6fcce0ce1bb2e1977d5cb265d0e55420ae4 100644 (file)
--- 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.
index e8121aac428af39fc129b2e56cde059be24f581a..03996464a5f886b6756fad024b5b06b7d199961f 100644 (file)
@@ -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.  */