Index: include/apr.hw =================================================================== --- include/apr.hw (revision 606596) +++ include/apr.hw (working copy) @@ -78,7 +78,10 @@ /* Restrict the server to a subset of Windows 2000 header files by default */ -#define _WIN32_WINNT 0x0500 + * + * In order to use the MCAST API - 0x0501 is required! + */ +#define _WIN32_WINNT 0x0501 /* _WIN32_WINNT_WINXP */ #endif #ifndef NOUSER #define NOUSER @@ -217,7 +220,7 @@ #define APR_HAVE_IN_ADDR 1 #define APR_HAVE_INET_ADDR 1 #define APR_HAVE_INET_NETWORK 0 -#define APR_HAVE_IPV6 0 +#define APR_HAVE_IPV6 1 #define APR_HAVE_MEMMOVE 1 #define APR_HAVE_SETRLIMIT 0 #define APR_HAVE_SIGACTION 0 Index: network_io/unix/multicast.c =================================================================== --- network_io/unix/multicast.c (revision 606596) +++ network_io/unix/multicast.c (working copy) @@ -117,13 +117,13 @@ #if APR_HAVE_IPV6 struct ipv6_mreq mip6; #endif -#if MCAST_JOIN_SOURCE_GROUP +#ifdef GROUP_FILTER_SIZE struct group_source_req mip; int ip_proto; #endif if (source != NULL) { -#if MCAST_JOIN_SOURCE_GROUP +#ifdef GROUP_FILTER_SIZE if (sock_is_ipv4(sock)) { ip_proto = IPPROTO_IP; }