diff options
author | Christian Beier <cb@shoutrlabs.com> | 2016-05-30 15:02:33 +0200 |
---|---|---|
committer | Christian Beier <cb@shoutrlabs.com> | 2016-05-30 15:02:33 +0200 |
commit | cada820645c0d3293cf51d73aa80695f14793cc2 (patch) | |
tree | d877d9fe15ce4c4c7c7d4c43155e3e5945a49f60 /rfb | |
parent | ddabcb67a630d5b8e73cdce6d78f9413b36b742b (diff) | |
download | libtdevnc-cada820645c0d3293cf51d73aa80695f14793cc2.tar.gz libtdevnc-cada820645c0d3293cf51d73aa80695f14793cc2.zip |
Only include endian.h if present on system.
Diffstat (limited to 'rfb')
-rw-r--r-- | rfb/rfbproto.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 <endian.h> # if __BYTE_ORDER == __BIG_ENDIAN # define LIBVNCSERVER_WORDS_BIGENDIAN 1 # endif -#endif /* !_WIN32 */ +#endif /* MS compilers don't have strncasecmp */ #ifdef _MSC_VER |