summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2008-12-30 07:31:04 +0000
committerGunter Knauf <gk@gknw.de>2008-12-30 07:31:04 +0000
commit104377d718654947f42f8812b17d1d3127c843a0 (patch)
tree4aabb62b0440312afcd25ad39f9b0369fea37d43 /lib
parent83640b2ee5e41292eab2ff3e722c5ac4caea17c9 (diff)
downloadcurl-104377d718654947f42f8812b17d1d3127c843a0.tar.gz
added HAVE_SIN6_SCOPE_ID define to all non-configure platforms which seem to be IPv6-aware.
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.netware1
-rw-r--r--lib/config-os400.h3
-rw-r--r--lib/config-riscos.h3
-rw-r--r--lib/config-symbian.h3
-rw-r--r--lib/config-tpf.h3
-rw-r--r--lib/config-win32ce.h3
6 files changed, 16 insertions, 0 deletions
diff --git a/lib/Makefile.netware b/lib/Makefile.netware
index a5e0345c9..546086796 100644
--- a/lib/Makefile.netware
+++ b/lib/Makefile.netware
@@ -454,6 +454,7 @@ ifdef ENABLE_IPV6
@echo $(DL)#define ENABLE_IPV6 1$(DL) >> $@
@echo $(DL)#define HAVE_FREEADDRINFO 1$(DL) >> $@
@echo $(DL)#define HAVE_GETADDRINFO 1$(DL) >> $@
+ @echo $(DL)#define HAVE_SIN6_SCOPE_ID 1$(DL) >> $@
endif
endif
@echo $(DL)#define USE_MANUAL 1$(DL) >> $@
diff --git a/lib/config-os400.h b/lib/config-os400.h
index 3a118796a..dccf8a869 100644
--- a/lib/config-os400.h
+++ b/lib/config-os400.h
@@ -42,6 +42,9 @@
/* Define if you want to enable IPv6 support */
#define ENABLE_IPV6
+/* Define if struct sockaddr_in6 has the sin6_scope_id member */
+#define HAVE_SIN6_SCOPE_ID 1
+
/* Define this to 'int' if ssize_t is not an available typedefed type */
#undef ssize_t
diff --git a/lib/config-riscos.h b/lib/config-riscos.h
index 82d579e53..25097fb0b 100644
--- a/lib/config-riscos.h
+++ b/lib/config-riscos.h
@@ -38,6 +38,9 @@
/* Define if you want to enable IPv6 support */
#undef ENABLE_IPV6
+/* Define if struct sockaddr_in6 has the sin6_scope_id member */
+#define HAVE_SIN6_SCOPE_ID 1
+
/* Define this to 'int' if ssize_t is not an available typedefed type */
#undef ssize_t
diff --git a/lib/config-symbian.h b/lib/config-symbian.h
index fb5dd23aa..cc9b03cb9 100644
--- a/lib/config-symbian.h
+++ b/lib/config-symbian.h
@@ -66,6 +66,9 @@
/* Define if you want to enable IPv6 support */
#define ENABLE_IPV6 1
+/* Define if struct sockaddr_in6 has the sin6_scope_id member */
+#define HAVE_SIN6_SCOPE_ID 1
+
/* Define to the type qualifier of arg 1 for getnameinfo. */
#define GETNAMEINFO_QUAL_ARG1 const
diff --git a/lib/config-tpf.h b/lib/config-tpf.h
index 67f9cbfef..8524cda19 100644
--- a/lib/config-tpf.h
+++ b/lib/config-tpf.h
@@ -62,6 +62,9 @@
/* Define if you want to enable IPv6 support */
/* #undef ENABLE_IPV6 */
+/* Define if struct sockaddr_in6 has the sin6_scope_id member */
+/* #undef HAVE_SIN6_SCOPE_ID */
+
/* Define to the type of arg 1 for getnameinfo. */
/* #undef GETNAMEINFO_TYPE_ARG1 */
diff --git a/lib/config-win32ce.h b/lib/config-win32ce.h
index cd793d6cc..65b00a104 100644
--- a/lib/config-win32ce.h
+++ b/lib/config-win32ce.h
@@ -323,6 +323,9 @@
/* Define this if you have struct timeval */
#define HAVE_STRUCT_TIMEVAL 1
+/* Define this if struct sockaddr_in6 has the sin6_scope_id member */
+#define HAVE_SIN6_SCOPE_ID 1
+
/* ---------------------------------------------------------------- */
/* COMPILER SPECIFIC */
/* ---------------------------------------------------------------- */