diff options
-rw-r--r-- | rfb/rfb.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |