Skip to content

Commit 7858bfb

Browse files
committed
Fix natpmp request issue on Windows
1 parent 8d4cb1e commit 7858bfb

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ext/libnatpmp/natpmp.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,8 @@ POSSIBILITY OF SUCH DAMAGE.
3939
#include <winsock2.h>
4040
#include <ws2tcpip.h>
4141
#include <io.h>
42-
#ifndef EWOULDBLOCK
4342
#define EWOULDBLOCK WSAEWOULDBLOCK
44-
#endif
45-
#ifndef ECONNREFUSED
4643
#define ECONNREFUSED WSAECONNREFUSED
47-
#endif
4844
#include "wingettimeofday.h"
4945
#define gettimeofday natpmp_gettimeofday
5046
#else

0 commit comments

Comments
 (0)