From: Jim Meyering Date: Mon, 14 Nov 2005 14:51:24 +0000 (+0000) Subject: Use #if !, not #ifndef, for AC_CHECK_DECLS. X-Git-Tag: v6.0~1342 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=db5eb389ad3dbc537e156e15db6c45ecd3455e7b;p=thirdparty%2Fcoreutils.git Use #if !, not #ifndef, for AC_CHECK_DECLS. --- 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 . */