From 24cc0904fa08e655030ea90e374ff24315f1029a Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Mon, 21 Dec 2015 13:14:48 -0800 Subject: 1.1.2 Windows build fixes, tweaks, etc. --- osdep/PortMapper.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'osdep/PortMapper.cpp') 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" -- cgit v1.2.3