Commit e69e1efd authored by Daniel Cohen Gindi's avatar Daniel Cohen Gindi

Those are generally the windows headers, not just MinGW

parent 1fc2951f
...@@ -52,7 +52,7 @@ extern "C" ...@@ -52,7 +52,7 @@ extern "C"
#include <sys/types.h> #include <sys/types.h>
#endif #endif
#ifdef __MINGW32__ #ifdef WIN32
#undef SOCKET #undef SOCKET
#include <winsock2.h> #include <winsock2.h>
#ifdef LIBVNCSERVER_HAVE_WS2TCPIP_H #ifdef LIBVNCSERVER_HAVE_WS2TCPIP_H
...@@ -267,7 +267,7 @@ typedef struct _rfbScreenInfo ...@@ -267,7 +267,7 @@ typedef struct _rfbScreenInfo
SOCKET listenSock; SOCKET listenSock;
int maxSock; int maxSock;
int maxFd; int maxFd;
#ifdef __MINGW32__ #ifdef WIN32
struct fd_set allFds; struct fd_set allFds;
#else #else
fd_set allFds; fd_set allFds;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment