diff options
author | Yang Tse <yangsita@gmail.com> | 2008-09-24 16:43:12 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-09-24 16:43:12 +0000 |
commit | a08ee8a0bed9d6e55beec8cfb735937735c4a417 (patch) | |
tree | cf6581b3fa16d1451ed46b398978cd173d792f44 /inet_ntop.h | |
parent | 9be0422d12d2d98629c6e8d18830c018623c06b4 (diff) | |
download | c-ares-a08ee8a0bed9d6e55beec8cfb735937735c4a417.tar.gz c-ares-a08ee8a0bed9d6e55beec8cfb735937735c4a417.tar.bz2 c-ares-a08ee8a0bed9d6e55beec8cfb735937735c4a417.zip |
HAVE_INET_NTOP will only be defined when an IPv6 capable working
inet_ntop function is available.
Diffstat (limited to 'inet_ntop.h')
-rw-r--r-- | inet_ntop.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inet_ntop.h b/inet_ntop.h index 9ddc9eb..ab9735e 100644 --- a/inet_ntop.h +++ b/inet_ntop.h @@ -18,7 +18,7 @@ * without express or implied warranty. */ -#if defined(HAVE_INET_NTOP) && defined(HAVE_INET_NTOP_IPV6) +#ifdef HAVE_INET_NTOP #define ares_inet_ntop(w,x,y,z) inet_ntop(w,x,y,z) #else const char *ares_inet_ntop(int af, const void *src, char *dst, size_t size); |