summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2014-12-30 18:29:45 +0100
committerChristian Beier <dontmind@freeshell.org>2014-12-30 18:29:45 +0100
commita77d695c2b71b6802903e6fa31bdb8adfb5fcc88 (patch)
tree8207c683b51a22e3ebe17e4369118d2fc3877b25
parent5d3e41d2573c7fd7ee35d4f402d46b9311e72321 (diff)
downloadlibtdevnc-a77d695c2b71b6802903e6fa31bdb8adfb5fcc88.tar.gz
libtdevnc-a77d695c2b71b6802903e6fa31bdb8adfb5fcc88.zip
Fix another MinGW64 build issue. WSAEWOULDBLOCK is not MinGW-specific.
-rw-r--r--libvncclient/sockets.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libvncclient/sockets.c b/libvncclient/sockets.c
index c09b555..e32c60e 100644
--- a/libvncclient/sockets.c
+++ b/libvncclient/sockets.c
@@ -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)