mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-14 18:48:36 -07:00
1.1.2 Windows build fixes, tweaks, etc.
This commit is contained in:
parent
c8056452b8
commit
24cc0904fa
6 changed files with 56 additions and 18 deletions
|
@ -40,10 +40,14 @@
|
|||
#include "OSUtils.hpp"
|
||||
#include "PortMapper.hpp"
|
||||
|
||||
// These must be defined to get rid of dynamic export stuff in libminiupnpc and libnatpmp
|
||||
#ifdef __WINDOWS__
|
||||
#ifndef MINIUPNP_STATICLIB
|
||||
#define MINIUPNP_STATICLIB
|
||||
#endif
|
||||
#ifndef STATICLIB
|
||||
#define STATICLIB
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "../ext/miniupnpc/miniupnpc.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue