mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-07 08:35:16 -04:00
Include p3face-info.cc use miniupnpc only if available
This commit is contained in:
parent
cd3755da9e
commit
3c5ac8b6e6
1 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@
|
|||
|
||||
#ifdef RS_USE_LIBUPNP
|
||||
# include "upnp/upnpconfig.h"
|
||||
#else // def RS_USE_LIBUPNP
|
||||
#elif defined(RS_USE_LIBMINIUPNPC)
|
||||
# include "miniupnpc/miniupnpc.h"
|
||||
#endif // def RS_USE_LIBUPNP
|
||||
|
||||
|
@ -89,7 +89,7 @@ void RsServer::getLibraries(std::list<RsLibraryInfo> &libraries)
|
|||
|
||||
#ifdef RS_USE_LIBUPNP
|
||||
libraries.push_back(RsLibraryInfo("UPnP (libupnp)", UPNP_VERSION_STRING));
|
||||
#else // def RS_USE_LIBUPNP
|
||||
#elif defined(RS_USE_LIBMINIUPNPC)
|
||||
libraries.push_back(RsLibraryInfo("UPnP (MiniUPnP)", MINIUPNPC_VERSION));
|
||||
#endif // def RS_USE_LIBUPNP
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue