Skip to content

Commit

Permalink
Merge commit '2022f210db7cd9195e4d39151168c1a684015991'
Browse files Browse the repository at this point in the history
  • Loading branch information
miniupnp committed Sep 24, 2020
2 parents cb8cf00 + 2022f21 commit cad5c36
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions natpmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,14 @@ POSSIBILITY OF SUCH DAMAGE.
#include <winsock2.h>
#include <ws2tcpip.h>
#include <io.h>
#ifndef EWOULDBLOCK
#define EWOULDBLOCK WSAEWOULDBLOCK
#ifdef EWOULDBLOCK
#undef EWOULDBLOCK
#endif
#ifndef ECONNREFUSED
#define ECONNREFUSED WSAECONNREFUSED
#ifdef ECONNREFUSED
#undef ECONNREFUSED
#endif
#define EWOULDBLOCK WSAEWOULDBLOCK
#define ECONNREFUSED WSAECONNREFUSED
#include "wingettimeofday.h"
#define gettimeofday natpmp_gettimeofday
#else
Expand Down

0 comments on commit cad5c36

Please sign in to comment.