Joined: 16 Sep 2013
|Posted: Mon Sep 16, 2013 6:34 pm Post subject: how to distinguish between different upnpc versions
I wrote some code that uses e.g. upnpDiscover(), but the function signature changed between 1.5 and 1.6
Is there a nice way to distinguish between those versions?
#define HAVE_MINIUPNP_16 1
#define HAVE_MINIUPNP_15 1
This code above is somewhat cheap and brittle.