aboutsummaryrefslogtreecommitdiff
path: root/ares/config-win32.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-11-15 19:44:01 +0000
committerYang Tse <yangsita@gmail.com>2007-11-15 19:44:01 +0000
commitca95f58ac0d5c9cc8f56517917af8b83248777f7 (patch)
treeb8dc0e3d9ef21e7fdc85404d42e858822101e381 /ares/config-win32.h
parented636cbe4482e20bee084f2f83df494babb4defd (diff)
Needed now that in6_addr is referenced in ares.h
Diffstat (limited to 'ares/config-win32.h')
-rw-r--r--ares/config-win32.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/ares/config-win32.h b/ares/config-win32.h
index 1b65ce764..257a98451 100644
--- a/ares/config-win32.h
+++ b/ares/config-win32.h
@@ -174,19 +174,29 @@
/* ---------------------------------------------------------------- */
/* Define this if you have address family AF_INET6 */
+#ifdef HAVE_WINSOCK2_H
#define HAVE_AF_INET6 1
+#endif
/* Define this if you have protocol family PF_INET6 */
+#ifdef HAVE_WINSOCK2_H
#define HAVE_PF_INET6 1
+#endif
/* Define this if you have struct in6_addr */
+#ifdef HAVE_WS2TCPIP_H
#define HAVE_STRUCT_IN6_ADDR 1
+#endif
/* Define this if you have struct sockaddr_in6 */
+#ifdef HAVE_WS2TCPIP_H
#define HAVE_STRUCT_SOCKADDR_IN6 1
+#endif
/* Define this if you have sockaddr_in6 with scopeid */
+#ifdef HAVE_WS2TCPIP_H
#define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
+#endif
#endif /* __ARES_CONFIG_WIN32_H */