summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
OpenPOWER on IntegriCloud