From 47fc9fdd597be5d3285f688706b8832020efd3e1 Mon Sep 17 00:00:00 2001 From: Christian Beier Date: Fri, 8 Oct 2010 12:47:54 +0200 Subject: [PATCH] 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. --- rfb/rfbproto.h | 5 +++++ 1 file changed, 5 insertions(+) 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))