aboutsummaryrefslogtreecommitdiff
path: root/ares/inet_net_pton.h
diff options
context:
space:
mode:
Diffstat (limited to 'ares/inet_net_pton.h')
-rw-r--r--ares/inet_net_pton.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ares/inet_net_pton.h b/ares/inet_net_pton.h
index 0f454602e..f5642a505 100644
--- a/ares/inet_net_pton.h
+++ b/ares/inet_net_pton.h
@@ -18,7 +18,7 @@
* without express or implied warranty.
*/
-#if defined(HAVE_INET_PTON) && defined(HAVE_INET_PTON_IPV6)
+#ifdef HAVE_INET_PTON
#define ares_inet_pton(x,y,z) inet_pton(x,y,z)
#else
int ares_inet_pton(int af, const char *src, void *dst);