mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
Updating UPnP code for windows. (untested)
This commit is contained in:
parent
3c5e9ddd4e
commit
7a387b9a9f
2 changed files with 51 additions and 3 deletions
4
UPnP.h
4
UPnP.h
|
@ -50,7 +50,11 @@ namespace UPnP
|
|||
char m_externalIPAddress[40];
|
||||
bool m_IsModuleLoaded;
|
||||
std::string m_Port = std::to_string (util::config::GetArg ("-port", 17070));
|
||||
#ifndef _WIN32
|
||||
void *m_Module;
|
||||
#else
|
||||
HINSTANCE *m_Module;
|
||||
#endif
|
||||
};
|
||||
extern UPnP upnpc;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue