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

pull/1/head
Christian Beier 10 years ago
parent 5d3e41d257
commit a77d695c2b

@ -38,9 +38,7 @@
#ifdef WIN32
#undef SOCKET
#include <winsock2.h>
#ifdef MINGW32
#define EWOULDBLOCK WSAEWOULDBLOCK
#endif
#define close closesocket
#define read(sock,buf,len) recv(sock,buf,len,0)
#define write(sock,buf,len) send(sock,buf,len,0)

Loading…
Cancel
Save