aboutsummaryrefslogtreecommitdiff
path: root/src
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 /src
parent83640b2ee5e41292eab2ff3e722c5ac4caea17c9 (diff)
added HAVE_SIN6_SCOPE_ID define to all non-configure platforms which seem to be IPv6-aware.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.netware1
-rw-r--r--src/config-riscos.h3
-rw-r--r--src/config-win32.h3
3 files changed, 7 insertions, 0 deletions
diff --git a/src/Makefile.netware b/src/Makefile.netware
index 6b02935f2..6be299cf8 100644
--- a/src/Makefile.netware
+++ b/src/Makefile.netware
@@ -442,6 +442,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/src/config-riscos.h b/src/config-riscos.h
index f8df38ed5..0e6b3a19b 100644
--- a/src/config-riscos.h
+++ b/src/config-riscos.h
@@ -41,6 +41,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/src/config-win32.h b/src/config-win32.h
index 0ca61cccf..3b7dc58e8 100644
--- a/src/config-win32.h
+++ b/src/config-win32.h
@@ -200,6 +200,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
+
/* ---------------------------------------------------------------- */
/* Watt-32 tcp/ip SPECIFIC */
/* ---------------------------------------------------------------- */