[vlc-commits] upnp: don't clash with libupnp's own compat code

Tristan Matthews git at videolan.org
Wed Nov 29 16:46:09 CET 2017


vlc | branch: master | Tristan Matthews <tmatth at videolan.org> | Wed Nov 29 10:45:04 2017 -0500| [f9c5a343f1a8cad9c2c153f9c05e4e7201675a43] | committer: Jean-Baptiste Kempf

upnp: don't clash with libupnp's own compat code

Fixes build for upnp >= 1.6.23 and less than 1.8.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 bdd3c55ee5..82d43632f4 100644
--- a/modules/services_discovery/upnp.cpp
+++ b/modules/services_discovery/upnp.cpp
@@ -38,7 +38,7 @@
 #include <set>
 #include <string>
 
-#if UPNP_VERSION < 10800
+#if UPNP_VERSION < 10623
 /*
  * Compat functions and typedefs for libupnp prior to 1.8
  */



More information about the vlc-commits mailing list