UPNP support from windows

This commit is contained in:
orignal committed 2016-06-22 09:41:01 -04:00
1 parent 2f6898142e
commit 7ea5af448e
2 files changed
+6 -1

No files matched your search

+1 -1
View File
@@ -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