mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 21:30:31 -04:00
18 lines
356 B
C++
18 lines
356 B
C++
--- src/UPnPBase.h.orig 2016-09-16 07:55:07 UTC
|
|
+++ src/UPnPBase.h
|
|
@@ -489,9 +489,15 @@ public:
|
|
|
|
// Callback function
|
|
static int Callback(
|
|
+#if UPNP_VERSION >= 10800
|
|
+ Upnp_EventType_e EventType,
|
|
+ const void *Event,
|
|
+ void *Cookie);
|
|
+#else
|
|
Upnp_EventType EventType,
|
|
void* Event,
|
|
void* Cookie);
|
|
+#endif
|
|
|
|
private:
|
|
void OnEventReceived(
|