From 1454843b81f642ca25716997522c6630f6bb624f Mon Sep 17 00:00:00 2001 From: Stuart Cunningham Date: Fri, 14 Feb 2014 16:16:17 +1100 Subject: [PATCH] Fix build of libtiff on big endian host due to defined but empty WORDS_BIGENDIAN macro --- 3rdparty/libtiff/tif_config.h.cmakein | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/3rdparty/libtiff/tif_config.h.cmakein b/3rdparty/libtiff/tif_config.h.cmakein index d46761b525..24f58119ba 100644 --- a/3rdparty/libtiff/tif_config.h.cmakein +++ b/3rdparty/libtiff/tif_config.h.cmakein @@ -154,9 +154,9 @@ /* define to use win32 IO system */ #cmakedefine USE_WIN32_FILEIO -/* Define WORDS_BIGENDIAN if your processor stores words with the most +/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel). */ -#cmakedefine WORDS_BIGENDIAN +#cmakedefine WORDS_BIGENDIAN 1 /* Support Deflate compression */ #define ZIP_SUPPORT 1