changeset 6444:a144eefda6e8

* getaddrinfo.h: Use #if !, not #ifndef, for AC_CHECK_DECLS.
author Simon Josefsson <simon@josefsson.org>
date Tue, 08 Nov 2005 19:20:59 +0000
parents 1a35941d29ab
children 87f075c0178d
files lib/ChangeLog lib/getaddrinfo.h
diffstat 2 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,7 @@
+2005-11-08  Eric Blake  <ebb9@byu.net>
+
+	* getaddrinfo.h: Use #if !, not #ifndef, for AC_CHECK_DECLS.
+
 2005-10-30  Paul Eggert  <eggert@cs.ucla.edu>
 
 	Fix porting problem reported by Theodoros V. Kalamatianos.
--- a/lib/getaddrinfo.h
+++ b/lib/getaddrinfo.h
@@ -82,7 +82,7 @@
 #  endif
 # endif
 
-# ifndef HAVE_DECL_GETADDRINFO
+# if !HAVE_DECL_GETADDRINFO
 /* Translate name of a service location and/or a service name to set of
    socket addresses.
    For more details, see the POSIX:2001 specification
@@ -93,14 +93,14 @@
 			struct addrinfo **restrict res);
 # endif
 
-# ifndef HAVE_DECL_FREEADDRINFO
+# if !HAVE_DECL_FREEADDRINFO
 /* Free `addrinfo' structure AI including associated storage.
    For more details, see the POSIX:2001 specification
    <http://www.opengroup.org/susv3xsh/getaddrinfo.html>.  */
 extern void freeaddrinfo (struct addrinfo *ai);
 # endif
 
-# ifndef HAVE_DECL_GAI_STRERROR
+# if !HAVE_DECL_GAI_STRERROR
 /* Convert error return from getaddrinfo() to a string.
    For more details, see the POSIX:2001 specification
    <http://www.opengroup.org/susv3xsh/gai_strerror.html>.  */