summaryrefslogtreecommitdiffstats
path: root/rfb/rfb.h
diff options
context:
space:
mode:
authorDaniel Cohen Gindi <danielgindi@gmail.com>2014-09-20 17:21:13 +0300
committerDaniel Cohen Gindi <danielgindi@gmail.com>2014-09-20 17:46:34 +0300
commite69e1efd753eabbffcc0ff6655022fea1f5989fa (patch)
tree5cfba3e17ed1be64c43b49b5db479c56ae375946 /rfb/rfb.h
parent1fc2951f227cfa9c7251d7725ff13e006b822c26 (diff)
downloadlibtdevnc-e69e1efd753eabbffcc0ff6655022fea1f5989fa.tar.gz
libtdevnc-e69e1efd753eabbffcc0ff6655022fea1f5989fa.zip
Those are generally the windows headers, not just MinGW
Diffstat (limited to 'rfb/rfb.h')
-rw-r--r--rfb/rfb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/rfb/rfb.h b/rfb/rfb.h
index 16b6b66..f7919c6 100644
--- a/rfb/rfb.h
+++ b/rfb/rfb.h
@@ -52,7 +52,7 @@ extern "C"
#include <sys/types.h>
#endif
-#ifdef __MINGW32__
+#ifdef WIN32
#undef SOCKET
#include <winsock2.h>
#ifdef LIBVNCSERVER_HAVE_WS2TCPIP_H
@@ -267,7 +267,7 @@ typedef struct _rfbScreenInfo
SOCKET listenSock;
int maxSock;
int maxFd;
-#ifdef __MINGW32__
+#ifdef WIN32
struct fd_set allFds;
#else
fd_set allFds;