Commit 9c00cdd9 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

- Work-around for IPv6 SSM with Winsock 2 from Olivier Levon

- Remove old kludges (get yourself a decently recent Mingw32 or die)
parent 507cfc27
......@@ -51,24 +51,16 @@
#if defined(WIN32)
static const struct in6_addr in6addr_any = {{IN6ADDR_ANY_INIT}};
/* the following will have to be removed when w32api defines them */
# ifndef IPPROTO_IPV6
# define IPPROTO_IPV6 41
# endif
# ifndef IPV6_JOIN_GROUP
# define IPV6_JOIN_GROUP 12
# endif
# ifndef IPV6_MULTICAST_HOPS
# define IPV6_MULTICAST_HOPS 10
# endif
# ifndef IPV6_UNICAST_HOPS
# define IPV6_UNICAST_HOPS 4
# endif
# define close closesocket
#endif
#ifndef MCAST_JOIN_SOURCE_GROUP
# ifdef WIN32
/* Most (all?) Mingw32 versions in use are yet to pick up Vista stuff */
# define MCAST_JOIN_SOURCE_GROUP 45 /* from <ws2ipdef.h> */
# else
# define MCAST_JOIN_SOURCE_GROUP 46
# endif
struct group_source_req
{
uint32_t gsr_interface; /* interface index */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment