mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
UPNP support from windows
This commit is contained in:
parent
2f6898142e
commit
7ea5af448e
2 changed files with 6 additions and 1 deletions
2
UPnP.cpp
2
UPnP.cpp
|
@ -69,7 +69,7 @@ namespace transport
|
|||
#ifdef MAC_OSX
|
||||
m_Module = dlopen ("libminiupnpc.dylib", RTLD_LAZY);
|
||||
#elif _WIN32
|
||||
m_Module = LoadLibrary ("miniupnpc.dll"); // official prebuilt binary, e.g., in upnpc-exe-win32-20140422.zip
|
||||
m_Module = LoadLibrary ("libminiupnpc.dll"); // from MSYS2
|
||||
#else
|
||||
m_Module = dlopen ("libminiupnpc.so", RTLD_LAZY);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue