From 79c414ab99d16b92e6436388cfb9f70f7c04ccde Mon Sep 17 00:00:00 2001 From: dscho Date: Sun, 3 Aug 2003 00:12:22 +0000 Subject: forgot to change WORDS_BIGENDIAN to LIBVNCSERVER_BIGENDIAN; #undef VERSION unneccessary... --- rfb/rfbproto.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/rfb/rfbproto.h b/rfb/rfbproto.h index 72017e6..4dee59e 100644 --- a/rfb/rfbproto.h +++ b/rfb/rfbproto.h @@ -47,9 +47,17 @@ */ +#if defined(WIN32) +#define LIBVNCSERVER_WORDS_BIGENDIAN +#define rfbBool int +#include +#include +#undef SOCKET +#define SOCKET int +#else #include -#undef VERSION #include +#endif #include #ifdef LIBVNCSERVER_HAVE_LIBZ @@ -57,14 +65,7 @@ #endif -#if defined(WIN32) -#define WORDS_BIGENDIAN -#define rfbBool int -#include -#include -#undef SOCKET -#define SOCKET int -#else +#if !defined(WIN32) #define max(a,b) (((a)>(b))?(a):(b)) #ifdef LIBVNCSERVER_HAVE_SYS_TIME_H #include -- cgit v1.2.1