summaryrefslogtreecommitdiff
path: root/ares_ipv6.h
diff options
context:
space:
mode:
authorYu Jiung <jiung.yu@samsung.com>2016-11-10 16:59:08 +0900
committerYu Jiung <jiung.yu@samsung.com>2016-11-10 16:59:08 +0900
commit6e8e7a899a742f7f170ff6f07a26cf4832f4fdc9 (patch)
tree81f0750d91aa467df3ee81cf30d22a65db2e6685 /ares_ipv6.h
parentd82f8426a5e255f0533f07ee458870ba124f90e7 (diff)
parent45e88a8337839e5fd88519bc55467053d521c9f6 (diff)
downloadc-ares-6e8e7a899a742f7f170ff6f07a26cf4832f4fdc9.tar.gz
c-ares-6e8e7a899a742f7f170ff6f07a26cf4832f4fdc9.tar.bz2
c-ares-6e8e7a899a742f7f170ff6f07a26cf4832f4fdc9.zip
Conflicts: packaging/c-ares.spec Change-Id: Id23d5351f77b4520d8bbcc4c0e1eb09136018b58
Diffstat (limited to 'ares_ipv6.h')
-rw-r--r--ares_ipv6.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ares_ipv6.h b/ares_ipv6.h
index 6f1022a..b0017f1 100644
--- a/ares_ipv6.h
+++ b/ares_ipv6.h
@@ -47,16 +47,16 @@ struct addrinfo
#endif
#ifndef NS_IN6ADDRSZ
-#if SIZEOF_STRUCT_IN6_ADDR == 0
+#ifndef HAVE_STRUCT_IN6_ADDR
/* We cannot have it set to zero, so we pick a fixed value here */
#define NS_IN6ADDRSZ 16
#else
-#define NS_IN6ADDRSZ SIZEOF_STRUCT_IN6_ADDR
+#define NS_IN6ADDRSZ sizeof(struct in6_addr)
#endif
#endif
#ifndef NS_INADDRSZ
-#define NS_INADDRSZ SIZEOF_STRUCT_IN_ADDR
+#define NS_INADDRSZ sizeof(struct in_addr)
#endif
#ifndef NS_INT16SZ
@@ -71,7 +71,7 @@ struct addrinfo
#endif
#endif
-/* Defined in ares_net_pton.c for no particular reason. */
+/* Defined in inet_net_pton.c for no particular reason. */
extern const struct ares_in6_addr ares_in6addr_any; /* :: */