Commit a77d695c authored by Christian Beier's avatar Christian Beier

Fix another MinGW64 build issue. WSAEWOULDBLOCK is not MinGW-specific.

parent 5d3e41d2
...@@ -38,9 +38,7 @@ ...@@ -38,9 +38,7 @@
#ifdef WIN32 #ifdef WIN32
#undef SOCKET #undef SOCKET
#include <winsock2.h> #include <winsock2.h>
#ifdef MINGW32
#define EWOULDBLOCK WSAEWOULDBLOCK #define EWOULDBLOCK WSAEWOULDBLOCK
#endif
#define close closesocket #define close closesocket
#define read(sock,buf,len) recv(sock,buf,len,0) #define read(sock,buf,len) recv(sock,buf,len,0)
#define write(sock,buf,len) send(sock,buf,len,0) #define write(sock,buf,len) send(sock,buf,len,0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment