[vlc-devel] [PATCH] [RFC] Win32: define the MCAST_ constants to fix IPv6 SSM

Jean-Baptiste Kempf jb at videolan.org
Mon Nov 28 02:21:55 CET 2016


Those are not defined on Mingw.

Close #17560
---
 include/vlc_network.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/include/vlc_network.h b/include/vlc_network.h
index 875ae18..d505779 100644
--- a/include/vlc_network.h
+++ b/include/vlc_network.h
@@ -204,6 +204,13 @@ VLC_API int vlc_close(int);
 #  undef gai_strerror
 #  define gai_strerror gai_strerrorA
 # endif
+/* MCast defines */
+# define MCAST_JOIN_GROUP            41
+# define MCAST_LEAVE_GROUP           42
+# define MCAST_BLOCK_SOURCE          43
+# define MCAST_UNBLOCK_SOURCE        44
+# define MCAST_JOIN_SOURCE_GROUP     45
+# define MCAST_LEAVE_SOURCE_GROUP    46
 #endif
 
 #ifdef __OS2__
-- 
2.10.2



More information about the vlc-devel mailing list