summaryrefslogtreecommitdiff
path: root/ares/inet_ntop.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-09-24 16:43:12 +0000
committerYang Tse <yangsita@gmail.com>2008-09-24 16:43:12 +0000
commit142cb601f86e56e18cc19ea4998dd87a4504993f (patch)
tree405c56b2d6331282ee90ced926cd10725be279b7 /ares/inet_ntop.h
parent21b523fcd3aa3ab22733d3baff93e591673a8e9c (diff)
downloadcurl-142cb601f86e56e18cc19ea4998dd87a4504993f.tar.gz
HAVE_INET_NTOP will only be defined when an IPv6 capable working
inet_ntop function is available.
Diffstat (limited to 'ares/inet_ntop.h')
-rw-r--r--ares/inet_ntop.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ares/inet_ntop.h b/ares/inet_ntop.h
index 9ddc9eb32..ab9735e80 100644
--- a/ares/inet_ntop.h
+++ b/ares/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);