diff options
-rw-r--r-- | rfb/rfbproto.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rfb/rfbproto.h b/rfb/rfbproto.h index 354f1aa..6921d4a 100644 --- a/rfb/rfbproto.h +++ b/rfb/rfbproto.h @@ -80,11 +80,12 @@ #endif #endif +#if !defined(_WIN32) # include <endian.h> # if __BYTE_ORDER == __BIG_ENDIAN -# define LIBVBNCSERVER_WORDS_BIGENDIAN 1 +# define LIBVNCSERVER_WORDS_BIGENDIAN 1 # endif - +#endif /* !_WIN32 */ /* MS compilers don't have strncasecmp */ #ifdef _MSC_VER |