diff options
| author | Adam Ierymenko <adam.ierymenko@zerotier.com> | 2015-12-21 13:14:48 -0800 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@zerotier.com> | 2015-12-21 13:14:48 -0800 |
| commit | 24cc0904fa08e655030ea90e374ff24315f1029a (patch) | |
| tree | 88317afe24aec3e4f7e2f0e9c21e126ab691b6ee /osdep/PortMapper.cpp | |
| parent | c8056452b838e162b13531886606557d76957c60 (diff) | |
| download | infinitytier-24cc0904fa08e655030ea90e374ff24315f1029a.tar.gz infinitytier-24cc0904fa08e655030ea90e374ff24315f1029a.zip | |
1.1.2 Windows build fixes, tweaks, etc.
Diffstat (limited to 'osdep/PortMapper.cpp')
| -rw-r--r-- | osdep/PortMapper.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/osdep/PortMapper.cpp b/osdep/PortMapper.cpp index 87c886c2..03e2648f 100644 --- a/osdep/PortMapper.cpp +++ b/osdep/PortMapper.cpp @@ -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" |
