1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

added HAVE_SIN6_SCOPE_ID define to all non-configure platforms which seem to be IPv6-aware.

This commit is contained in:
Gunter Knauf 2008-12-30 07:31:04 +00:00
parent 83640b2ee5
commit 104377d718
9 changed files with 23 additions and 0 deletions

View File

@ -454,6 +454,7 @@ ifdef ENABLE_IPV6
@echo $(DL)#define ENABLE_IPV6 1$(DL) >> $@ @echo $(DL)#define ENABLE_IPV6 1$(DL) >> $@
@echo $(DL)#define HAVE_FREEADDRINFO 1$(DL) >> $@ @echo $(DL)#define HAVE_FREEADDRINFO 1$(DL) >> $@
@echo $(DL)#define HAVE_GETADDRINFO 1$(DL) >> $@ @echo $(DL)#define HAVE_GETADDRINFO 1$(DL) >> $@
@echo $(DL)#define HAVE_SIN6_SCOPE_ID 1$(DL) >> $@
endif endif
endif endif
@echo $(DL)#define USE_MANUAL 1$(DL) >> $@ @echo $(DL)#define USE_MANUAL 1$(DL) >> $@

View File

@ -42,6 +42,9 @@
/* Define if you want to enable IPv6 support */ /* Define if you want to enable IPv6 support */
#define ENABLE_IPV6 #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 */ /* Define this to 'int' if ssize_t is not an available typedefed type */
#undef ssize_t #undef ssize_t

View File

@ -38,6 +38,9 @@
/* Define if you want to enable IPv6 support */ /* Define if you want to enable IPv6 support */
#undef ENABLE_IPV6 #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 */ /* Define this to 'int' if ssize_t is not an available typedefed type */
#undef ssize_t #undef ssize_t

View File

@ -66,6 +66,9 @@
/* Define if you want to enable IPv6 support */ /* Define if you want to enable IPv6 support */
#define ENABLE_IPV6 1 #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 to the type qualifier of arg 1 for getnameinfo. */
#define GETNAMEINFO_QUAL_ARG1 const #define GETNAMEINFO_QUAL_ARG1 const

View File

@ -62,6 +62,9 @@
/* Define if you want to enable IPv6 support */ /* Define if you want to enable IPv6 support */
/* #undef ENABLE_IPV6 */ /* #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. */ /* Define to the type of arg 1 for getnameinfo. */
/* #undef GETNAMEINFO_TYPE_ARG1 */ /* #undef GETNAMEINFO_TYPE_ARG1 */

View File

@ -323,6 +323,9 @@
/* Define this if you have struct timeval */ /* Define this if you have struct timeval */
#define HAVE_STRUCT_TIMEVAL 1 #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 */ /* COMPILER SPECIFIC */
/* ---------------------------------------------------------------- */ /* ---------------------------------------------------------------- */

View File

@ -442,6 +442,7 @@ ifdef ENABLE_IPV6
@echo $(DL)#define ENABLE_IPV6 1$(DL) >> $@ @echo $(DL)#define ENABLE_IPV6 1$(DL) >> $@
@echo $(DL)#define HAVE_FREEADDRINFO 1$(DL) >> $@ @echo $(DL)#define HAVE_FREEADDRINFO 1$(DL) >> $@
@echo $(DL)#define HAVE_GETADDRINFO 1$(DL) >> $@ @echo $(DL)#define HAVE_GETADDRINFO 1$(DL) >> $@
@echo $(DL)#define HAVE_SIN6_SCOPE_ID 1$(DL) >> $@
endif endif
endif endif
@echo $(DL)#define USE_MANUAL 1$(DL) >> $@ @echo $(DL)#define USE_MANUAL 1$(DL) >> $@

View File

@ -41,6 +41,9 @@
/* Define if you want to enable IPv6 support */ /* Define if you want to enable IPv6 support */
#undef ENABLE_IPV6 #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 */ /* Define this to 'int' if ssize_t is not an available typedefed type */
#undef ssize_t #undef ssize_t

View File

@ -200,6 +200,9 @@
/* Define this if you have struct timeval */ /* Define this if you have struct timeval */
#define HAVE_STRUCT_TIMEVAL 1 #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 */ /* Watt-32 tcp/ip SPECIFIC */
/* ---------------------------------------------------------------- */ /* ---------------------------------------------------------------- */