Add miniupnpc builds for Windows, fix some Windows build warnings.
This commit is contained in:
parent
3c54187c40
commit
14264c2d6f
7 changed files with 109 additions and 18 deletions
|
@ -40,8 +40,14 @@
|
|||
#include "../node/Utils.hpp"
|
||||
#include "UPNPClient.hpp"
|
||||
|
||||
#include <miniupnpc/miniupnpc.h>
|
||||
#include <miniupnpc/upnpcommands.h>
|
||||
#ifdef __WINDOWS__
|
||||
#ifndef MINIUPNP_STATICLIB
|
||||
#define MINIUPNP_STATICLIB
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "../ext/bin/miniupnpc/include/miniupnpc/miniupnpc.h"
|
||||
#include "../ext/bin/miniupnpc/include/miniupnpc/upnpcommands.h"
|
||||
|
||||
namespace ZeroTier {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue