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. --- ext/installfiles/windows/ZeroTier One.aip | 10 +++++----- ext/libnatpmp/natpmp.c | 4 ++++ 2 files changed, 9 insertions(+), 5 deletions(-) (limited to 'ext') diff --git a/ext/installfiles/windows/ZeroTier One.aip b/ext/installfiles/windows/ZeroTier One.aip index 147094f9..383ff625 100644 --- a/ext/installfiles/windows/ZeroTier One.aip +++ b/ext/installfiles/windows/ZeroTier One.aip @@ -1,5 +1,5 @@ - + @@ -26,10 +26,10 @@ - + - + @@ -59,7 +59,7 @@ - + @@ -338,7 +338,7 @@ - + diff --git a/ext/libnatpmp/natpmp.c b/ext/libnatpmp/natpmp.c index 3a498129..9843c41e 100644 --- a/ext/libnatpmp/natpmp.c +++ b/ext/libnatpmp/natpmp.c @@ -39,8 +39,12 @@ POSSIBILITY OF SUCH DAMAGE. #include #include #include +#ifndef EWOULDBLOCK #define EWOULDBLOCK WSAEWOULDBLOCK +#endif +#ifndef ECONNREFUSED #define ECONNREFUSED WSAECONNREFUSED +#endif #include "wingettimeofday.h" #define gettimeofday natpmp_gettimeofday #else -- cgit v1.2.3