diff options
author | Christian Beier <[email protected]> | 2010-10-08 12:47:54 +0200 |
---|---|---|
committer | Christian Beier <[email protected]> | 2010-10-08 12:47:54 +0200 |
commit | 47fc9fdd597be5d3285f688706b8832020efd3e1 (patch) | |
tree | 62008738958ff9efad0c2f658add936c07633981 | |
parent | 0797e42a4aaf8131ae71899faea2d682ed81cb59 (diff) | |
download | libtdevnc-47fc9fdd597be5d3285f688706b8832020efd3e1.tar.gz libtdevnc-47fc9fdd597be5d3285f688706b8832020efd3e1.zip |
rfb/rfbproto.h: Prefix WORDS_BIGENDIAN when it is defined.
Some (all?) autotool versions do not properly prefix
WORDS_BIGENDIAN with LIBVNCSERVER_, so do that manually
here.
Thanks to Lorenz Kolb for reporting.
-rw-r--r-- | rfb/rfbproto.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rfb/rfbproto.h b/rfb/rfbproto.h index b6f201c..4e80fb3 100644 --- a/rfb/rfbproto.h +++ b/rfb/rfbproto.h @@ -68,6 +68,11 @@ #endif #endif +/* some autotool versions do not properly prefix + WORDS_BIGENDIAN, so do that manually */ +#ifdef WORDS_BIGENDIAN +#define LIBVNCSERVER_WORDS_BIGENDIAN +#endif #if !defined(WIN32) || defined(__MINGW32__) #define max(a,b) (((a)>(b))?(a):(b)) |