From: Simon Josefsson Date: Tue, 8 Nov 2005 19:20:59 +0000 (+0000) Subject: * getaddrinfo.h: Use #if !, not #ifndef, for AC_CHECK_DECLS. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21af7caab46e4aba4f9fbb644e845fdc4c6af4df;p=pspp * getaddrinfo.h: Use #if !, not #ifndef, for AC_CHECK_DECLS. --- diff --git a/lib/ChangeLog b/lib/ChangeLog index 767231d4c3..1164ad080a 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,7 @@ +2005-11-08 Eric Blake + + * getaddrinfo.h: Use #if !, not #ifndef, for AC_CHECK_DECLS. + 2005-10-30 Paul Eggert Fix porting problem reported by Theodoros V. Kalamatianos. diff --git a/lib/getaddrinfo.h b/lib/getaddrinfo.h index 54c9198bbb..65f52cda63 100644 --- a/lib/getaddrinfo.h +++ b/lib/getaddrinfo.h @@ -82,7 +82,7 @@ struct addrinfo # 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 @@ extern int getaddrinfo (const char *restrict nodename, 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 . */ 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 . */