link UPnP with app if USE_UPNP is set

This commit is contained in:
orignal 2016-06-24 13:15:51 -04:00
parent 0f68bbac8e
commit fedbf2cc44
4 changed files with 15 additions and 79 deletions

6
UPnP.h
View file

@ -48,12 +48,6 @@ namespace transport
struct UPNPDev * m_Devlist = 0;
char m_NetworkAddr[64];
char m_externalIPAddress[40];
bool m_IsModuleLoaded;
#ifndef _WIN32
void *m_Module;
#else
HINSTANCE m_Module;
#endif
};
}
}