mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
UPNP support from windows
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user