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.
pull/1/head
Christian Beier 12 years ago
parent 0797e42a4a
commit 47fc9fdd59

@ -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))

Loading…
Cancel
Save