[vlc-commits] UPnP: don't use UPnPInit2 on Win32
Jean-Baptiste Kempf
git at videolan.org
Tue May 19 15:20:50 CEST 2015
vlc/vlc-2.2 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue May 19 15:19:41 2015 +0200| [0e9751c71c2931962332338e40da3ec449b9e921] | committer: Jean-Baptiste Kempf
UPnP: don't use UPnPInit2 on Win32
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=0e9751c71c2931962332338e40da3ec449b9e921
---
modules/services_discovery/upnp.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/services_discovery/upnp.cpp b/modules/services_discovery/upnp.cpp
index 483f374..b5f7409 100644
--- a/modules/services_discovery/upnp.cpp
+++ b/modules/services_discovery/upnp.cpp
@@ -110,7 +110,7 @@ static int Open( vlc_object_t *p_this )
if( !( p_sd->p_sys = p_sys ) )
return VLC_ENOMEM;
-#ifdef UPNP_ENABLE_IPV6
+#if defined( UPNP_ENABLE_IPV6 ) && !defined(_WIN32)
char* psz_miface;
psz_miface = var_InheritString( p_sd, "miface" );
msg_Info( p_sd, "Initializing libupnp on '%s' interface", psz_miface );
More information about the vlc-commits
mailing list