Mercurial > hg > octave-nkf > gnulib-hg
changeset 6445:87f075c0178d
* inet_ntop.h: Use #if !, not #ifndef, for AC_CHECK_DECLS.
author | Simon Josefsson <simon@josefsson.org> |
---|---|
date | Wed, 09 Nov 2005 00:58:57 +0000 |
parents | a144eefda6e8 |
children | 04d604cf1d2e |
files | lib/ChangeLog lib/inet_ntop.h |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,7 @@ +2005-11-08 Eric Blake <ebb9@byu.net> + + * inet_ntop.h: Use #if !, not #ifndef, for AC_CHECK_DECLS. + 2005-11-08 Eric Blake <ebb9@byu.net> * getaddrinfo.h: Use #if !, not #ifndef, for AC_CHECK_DECLS.
--- a/lib/inet_ntop.h +++ b/lib/inet_ntop.h @@ -39,7 +39,7 @@ For more details, see the POSIX:2001 specification <http://www.opengroup.org/susv3xsh/inet_ntop.html>. */ -#ifndef HAVE_DECL_INET_NTOP +#if !HAVE_DECL_INET_NTOP extern const char *inet_ntop (int af, const void *restrict src, char *restrict dst, socklen_t cnt); #endif