summaryrefslogtreecommitdiff
path: root/inet_ntop.h
diff options
context:
space:
mode:
Diffstat (limited to 'inet_ntop.h')
-rw-r--r--inet_ntop.h2
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);