+2003-11-19 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * connect.c (socket_has_inet6): Only compile it if IPv6 is enabled
+ and AI_ADDRCONFIG is missing.
+
2003-11-18 Hrvoje Niksic <hniksic@xemacs.org>
* gen_sslfunc.c (ssl_init_prng): Warn the user when using a weak
return 1;
}
+#ifdef ENABLE_IPV6
+# ifndef HAVE_GETADDRINFO_AI_ADDRCONFIG
+
/* Return non-zero if the INET6 socket family is supported on the
system.
return supported;
}
+# endif/* not HAVE_GETADDRINFO_AI_ADDRCONFIG */
+#endif /* ENABLE_IPV6 */
+
/* Wait for a single descriptor to become available, timing out after
MAXTIME seconds. Returns 1 if FD is available, 0 for timeout and
-1 for error. The argument WAIT_FOR can be a combination of