Add stubs to easily build and include all of libnatpmp and miniupnpc in osdep/

This commit is contained in:
Adam Ierymenko 2019-08-19 20:28:44 -07:00
parent c8ca1cfa3c
commit cfbd7e3bf5
No known key found for this signature in database
GPG key ID: 1657198823E52A61
26 changed files with 82 additions and 1931 deletions

View file

@ -24,8 +24,6 @@
* of your own application.
*/
#ifdef ZT_USE_MINIUPNPC
#ifndef ZT_PORTMAPPER_HPP
#define ZT_PORTMAPPER_HPP
@ -39,7 +37,7 @@
/**
* How frequently should we refresh our UPNP/NAT-PnP/whatever state?
*/
#define ZT_PORTMAPPER_REFRESH_DELAY 300000
#define ZT_PORTMAPPER_REFRESH_DELAY 120000
namespace ZeroTier {
@ -75,5 +73,3 @@ private:
} // namespace ZeroTier
#endif
#endif // ZT_USE_MINIUPNPC