diff --git a/rfb/rfbproto.h b/rfb/rfbproto.h index 9eca868..ba643b1 100644 --- a/rfb/rfbproto.h +++ b/rfb/rfbproto.h @@ -81,12 +81,12 @@ #endif #endif -#if !defined(_WIN32) +#if LIBVNCSERVER_HAVE_ENDIAN_H # include # if __BYTE_ORDER == __BIG_ENDIAN # define LIBVNCSERVER_WORDS_BIGENDIAN 1 # endif -#endif /* !_WIN32 */ +#endif /* MS compilers don't have strncasecmp */ #ifdef _MSC_VER