1.1.2 Windows build fixes, tweaks, etc.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user