--- a/libupnpp/upnpplib.hxx
+++ b/libupnpp/upnpplib.hxx
@@ -25,7 +25,7 @@
/** Version components. */
#define LIBUPNPP_VERSION_MAJOR 0
-#define LIBUPNPP_VERSION_MINOR 16
+#define LIBUPNPP_VERSION_MINOR 17
#define LIBUPNPP_VERSION_REVISION 0
/// Got this from Xapian...
#define LIBUPNPP_AT_LEAST(A,B,C) \
@@ -155,7 +155,11 @@
LibUPnP(const LibUPnP &);
LibUPnP& operator=(const LibUPnP &);
- static int o_callback(Upnp_EventType, void *, void *);
+ static int o_callback(Upnp_EventType,
+#if UPNP_VERSION_MINOR >= 8
+ const
+#endif
+ void *, void *);
};
} // namespace UPnPP