13 lines
420 B
Diff
13 lines
420 B
Diff
diff --git a/modules/services_discovery/upnp.hpp b/modules/services_discovery/upnp.hpp
|
|
index b90e3cf..bc17189 100644
|
|
--- a/modules/services_discovery/upnp.hpp
|
|
+++ b/modules/services_discovery/upnp.hpp
|
|
@@ -37,7 +37,7 @@
|
|
#include <vlc_common.h>
|
|
#include <vlc_url.h>
|
|
|
|
-#if UPNP_VERSION < 10800
|
|
+#if (UPNP_VERSION < 10800) || (UPNP_VERSION >= 11800)
|
|
typedef void* UpnpEventPtr;
|
|
#else
|
|
typedef const void* UpnpEventPtr;
|