Turns out it wasn't hard to add miniupnpc to the VS2012 project and just have it build with the rest of the code.
This commit is contained in:
@@ -46,8 +46,8 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "../ext/bin/miniupnpc/include/miniupnpc/miniupnpc.h"
|
||||
#include "../ext/bin/miniupnpc/include/miniupnpc/upnpcommands.h"
|
||||
#include "../ext/miniupnpc/miniupnpc.h"
|
||||
#include "../ext/miniupnpc/upnpcommands.h"
|
||||
|
||||
namespace ZeroTier {
|
||||
|
||||
@@ -81,7 +81,7 @@ public:
|
||||
while (run) {
|
||||
{
|
||||
int upnpError = 0;
|
||||
UPNPDev *devlist = upnpDiscover(2000,(const char *)0,(const char *)0,0,0,&upnpError);
|
||||
UPNPDev *devlist = upnpDiscover(2000,(const char *)0,(const char *)0,0,0,0,&upnpError);
|
||||
if (devlist) {
|
||||
#ifdef ZT_UPNP_TRACE
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user