[vlc-devel] [PATCH 1/1] upnp: don't clash with libupnp's own compat code
Tristan Matthews
tmatth at videolan.org
Wed Nov 29 16:45:04 CET 2017
Fixes build for upnp >= 1.6.23 and less than 1.8.
---
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
*/
--
2.15.0
More information about the vlc-devel
mailing list