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

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

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

Loading…
Cancel
Save