[vlc-commits] Win32: fix regression in Mingw-w64 about IPv6 multicast

Jean-Baptiste Kempf git at videolan.org
Mon Oct 24 21:22:18 CEST 2016


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Oct 24 21:14:17 2016 +0200| [ddcdce08af2f501a889cca1b16afa365d7587eea] | committer: Jean-Baptiste Kempf

Win32: fix regression in Mingw-w64 about IPv6 multicast

Close #13071

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

 include/vlc_fixups.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/vlc_fixups.h b/include/vlc_fixups.h
index 690daae..7b7e619 100644
--- a/include/vlc_fixups.h
+++ b/include/vlc_fixups.h
@@ -489,6 +489,11 @@ char *realpath(const char * restrict pathname, char * restrict resolved_path);
 FILE *vlc_win32_tmpfile(void);
 #endif
 
+/* mingw-w64 has a broken IN6_IS_ADDR_MULTICAST macro */
+#if defined(_WIN32) && defined(__MINGW64_VERSION_MAJOR)
+# define IN6_IS_ADDR_MULTICAST IN6_IS_ADDR_MULTICAST
+#endif
+
 #ifdef __APPLE__
 # define fdatasync fsync
 #endif



More information about the vlc-commits mailing list