mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-08 22:52:54 -04:00
Fix build with libupnp-1.6.25
This commit is contained in:
parent
05116b8311
commit
7c13ca02dd
1 changed files with 3 additions and 3 deletions
|
@ -30,6 +30,9 @@ using UpnpEventSubscribe = Upnp_Event_Subscribe;
|
||||||
using UpnpActionComplete = Upnp_Action_Complete;
|
using UpnpActionComplete = Upnp_Action_Complete;
|
||||||
using UpnpStateVarComplete = Upnp_State_Var_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
|
#endif // UPNP_VERSION < 10800
|
||||||
|
|
||||||
#if UPNP_VERSION < 10624
|
#if UPNP_VERSION < 10624
|
||||||
|
@ -76,7 +79,4 @@ static inline int UpnpStateVarComplete_get_ErrCode(
|
||||||
static inline const char* UpnpStateVarComplete_get_StateVarName_cstr(
|
static inline const char* UpnpStateVarComplete_get_StateVarName_cstr(
|
||||||
const UpnpStateVarComplete* esvc) noexcept { return esvc->StateVarName; }
|
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
|
#endif // UPNP_VERSION < 10624
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue