[vlc-devel] [PATCH] Contrib: fix UPNP building on Win32
Steve Lhomme
robUx4 at videolabs.io
Mon Mar 2 16:22:11 CET 2015
Fixes #14057
---
modules/services_discovery/upnp.hpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules/services_discovery/upnp.hpp b/modules/services_discovery/upnp.hpp
index 23fe4db..09e1bc3 100644
--- a/modules/services_discovery/upnp.hpp
+++ b/modules/services_discovery/upnp.hpp
@@ -28,6 +28,10 @@
#include <vector>
#include <string>
+#ifdef _WIN32
+# undef if_nametoindex
+#endif
+
#include <upnp/upnp.h>
#include <upnp/upnptools.h>
--
2.2.2
More information about the vlc-devel
mailing list