From 4d437416daee0f626988b8c056ae9cd22486c655 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 24 Sep 2008 19:13:01 +0000 Subject: HAVE_INET_PTON will only be defined when an IPv6 capable working inet_pton function is available. --- ares/inet_net_pton.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ares/inet_net_pton.h') 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); -- cgit v1.2.3