summaryrefslogtreecommitdiffstats
path: root/rfb
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2010-10-08 12:47:54 +0200
committerChristian Beier <dontmind@freeshell.org>2010-10-08 12:47:54 +0200
commit47fc9fdd597be5d3285f688706b8832020efd3e1 (patch)
tree62008738958ff9efad0c2f658add936c07633981 /rfb
parent0797e42a4aaf8131ae71899faea2d682ed81cb59 (diff)
downloadlibvncserver-47fc9fdd597be5d3285f688706b8832020efd3e1.zip
libvncserver-47fc9fdd597be5d3285f688706b8832020efd3e1.tar.gz
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.
Diffstat (limited to 'rfb')
-rw-r--r--rfb/rfbproto.h5
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))
OpenPOWER on IntegriCloud