Fix "rfbBool's size is not 1" runtime error with MSVC

pull/3/head
Christian Beier 8 years ago
parent 417eb7590b
commit dbf5f9d514

@ -64,7 +64,7 @@
#if defined(WIN32) && !defined(__MINGW32__) #if defined(WIN32) && !defined(__MINGW32__)
#define LIBVNCSERVER_WORDS_BIGENDIAN #define LIBVNCSERVER_WORDS_BIGENDIAN
#define rfbBool int typedef int8_t rfbBool;
#include <sys/timeb.h> #include <sys/timeb.h>
#include <winsock2.h> #include <winsock2.h>
#undef SOCKET #undef SOCKET

Loading…
Cancel
Save