From 104377d718654947f42f8812b17d1d3127c843a0 Mon Sep 17 00:00:00 2001 From: Gunter Knauf Date: Tue, 30 Dec 2008 07:31:04 +0000 Subject: added HAVE_SIN6_SCOPE_ID define to all non-configure platforms which seem to be IPv6-aware. --- src/Makefile.netware | 1 + src/config-riscos.h | 3 +++ src/config-win32.h | 3 +++ 3 files changed, 7 insertions(+) (limited to 'src') 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 */ /* ---------------------------------------------------------------- */ -- cgit v1.2.3