mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fix build with libupnp-1.6.25
This commit is contained in:
parent
05116b8311
commit
7c13ca02dd
@ -30,6 +30,9 @@ using UpnpEventSubscribe = Upnp_Event_Subscribe;
|
||||
using UpnpActionComplete = Upnp_Action_Complete;
|
||||
using UpnpStateVarComplete = Upnp_State_Var_Complete;
|
||||
|
||||
static inline const char* UpnpStateVarComplete_get_CurrentVal_cstr(
|
||||
const UpnpStateVarComplete* esvc) noexcept { return esvc->CurrentVal; }
|
||||
|
||||
#endif // UPNP_VERSION < 10800
|
||||
|
||||
#if UPNP_VERSION < 10624
|
||||
@ -76,7 +79,4 @@ static inline int UpnpStateVarComplete_get_ErrCode(
|
||||
static inline const char* UpnpStateVarComplete_get_StateVarName_cstr(
|
||||
const UpnpStateVarComplete* esvc) noexcept { return esvc->StateVarName; }
|
||||
|
||||
static inline const char* UpnpStateVarComplete_get_CurrentVal_cstr(
|
||||
const UpnpStateVarComplete* esvc) noexcept { return esvc->CurrentVal; }
|
||||
|
||||
#endif // UPNP_VERSION < 10624
|
||||
|
Loading…
Reference in New Issue
Block a user