[vlc-commits] Do not redefine stuff from <ws2ipdef.h>

Rémi Denis-Courmont git at videolan.org
Sat Aug 20 13:11:24 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Aug 20 14:10:47 2011 +0300| [5cf832c997b18ecc143637438dae2fb02c940ca3] | committer: Rémi Denis-Courmont

Do not redefine stuff from <ws2ipdef.h>

This fixes compilation with newer Mingw-w64.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5cf832c997b18ecc143637438dae2fb02c940ca3
---

 src/network/udp.c |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/src/network/udp.c b/src/network/udp.c
index 74217f8..0a66270 100644
--- a/src/network/udp.c
+++ b/src/network/udp.c
@@ -432,19 +432,7 @@ net_IPv6Join (vlc_object_t *obj, int fd, const struct sockaddr_in6 *src)
 #  warning Your C headers are out-of-date. Please update.
 
 #  define MCAST_JOIN_GROUP 41
-struct group_req
-{
-    ULONG gr_interface;
-    struct sockaddr_storage gr_group;
-};
-
 #  define MCAST_JOIN_SOURCE_GROUP 45 /* from <ws2ipdef.h> */
-struct group_source_req
-{
-    uint32_t gsr_interface;
-    struct sockaddr_storage gsr_group;
-    struct sockaddr_storage gsr_source;
-};
 #endif
 
 /**



More information about the vlc-commits mailing list