1.1.2 Windows build fixes, tweaks, etc.

This commit is contained in:
Adam Ierymenko 2015-12-21 13:14:48 -08:00
commit 24cc0904fa
6 changed files with 56 additions and 18 deletions

View file

@ -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"