summaryrefslogtreecommitdiff
path: root/inet_ntop.c
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
commita08ee8a0bed9d6e55beec8cfb735937735c4a417 (patch)
treecf6581b3fa16d1451ed46b398978cd173d792f44 /inet_ntop.c
parent9be0422d12d2d98629c6e8d18830c018623c06b4 (diff)
downloadc-ares-a08ee8a0bed9d6e55beec8cfb735937735c4a417.tar.gz
c-ares-a08ee8a0bed9d6e55beec8cfb735937735c4a417.tar.bz2
c-ares-a08ee8a0bed9d6e55beec8cfb735937735c4a417.zip
HAVE_INET_NTOP will only be defined when an IPv6 capable working
inet_ntop function is available.
Diffstat (limited to 'inet_ntop.c')
-rw-r--r--inet_ntop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/inet_ntop.c b/inet_ntop.c
index 914576f..7f43b5c 100644
--- a/inet_ntop.c
+++ b/inet_ntop.c
@@ -46,7 +46,7 @@
#include "inet_ntop.h"
-#if !defined(HAVE_INET_NTOP) || !defined(HAVE_INET_NTOP_IPV6)
+#ifndef HAVE_INET_NTOP
#ifdef SPRINTF_CHAR
# define SPRINTF(x) strlen(sprintf/**/x)