mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 07:29:33 -05:00
Include p3face-info.cc use miniupnpc only if available
This commit is contained in:
parent
cd3755da9e
commit
3c5ac8b6e6
@ -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…
Reference in New Issue
Block a user