diff options
author | Yang Tse <yangsita@gmail.com> | 2008-09-24 19:13:01 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-09-24 19:13:01 +0000 |
commit | 4d437416daee0f626988b8c056ae9cd22486c655 (patch) | |
tree | fa0c53d82e00e6ba7670c3fec8278a6cf773bbe3 /ares/inet_net_pton.h | |
parent | 267b942383465f8d9ff193e4deaa0d383a09d6b7 (diff) |
HAVE_INET_PTON will only be defined when an IPv6 capable working
inet_pton function is available.
Diffstat (limited to 'ares/inet_net_pton.h')
-rw-r--r-- | ares/inet_net_pton.h | 2 |
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); |