Commit 5feadd7d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Add SSM definition for Vista (closes #313)

parent 68256439
...@@ -289,7 +289,6 @@ net_IPv6Join (vlc_object_t *obj, int fd, const struct sockaddr_in6 *src) ...@@ -289,7 +289,6 @@ net_IPv6Join (vlc_object_t *obj, int fd, const struct sockaddr_in6 *src)
} }
#if 0
#if defined (WIN32) && !defined (MCAST_JOIN_SOURCE_GROUP) #if defined (WIN32) && !defined (MCAST_JOIN_SOURCE_GROUP)
/* /*
* I hate manual definitions: Error-prone. Portability hell. * I hate manual definitions: Error-prone. Portability hell.
...@@ -298,17 +297,13 @@ net_IPv6Join (vlc_object_t *obj, int fd, const struct sockaddr_in6 *src) ...@@ -298,17 +297,13 @@ net_IPv6Join (vlc_object_t *obj, int fd, const struct sockaddr_in6 *src)
*/ */
# warning Your C headers are out-of-date. Please update. # warning Your C headers are out-of-date. Please update.
/* No, I won't guess the layout of these two. # define MCAST_JOIN_GROUP 41
* No, I don't want another socket protection level type-of obnoxious bug. */
# error Hmmm? This needs fixing.
# define MCAST_JOIN_GROUP XXX
struct group_req struct group_req
{ {
uint32_t gr_interface; FIXME ULONG gr_interface;
struct sockaddr_storage gr_group; FIXME struct sockaddr_storage gr_group;
}; };
# define MCAST_JOIN_SOURCE_GROUP 45 /* from <ws2ipdef.h> */ # define MCAST_JOIN_SOURCE_GROUP 45 /* from <ws2ipdef.h> */
struct group_source_req struct group_source_req
{ {
...@@ -317,7 +312,6 @@ struct group_source_req ...@@ -317,7 +312,6 @@ struct group_source_req
struct sockaddr_storage gsr_source; struct sockaddr_storage gsr_source;
}; };
#endif #endif
#endif
/** /**
* IP-agnostic multicast join, * IP-agnostic multicast join,
......
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