From dc07531bb53c6774dc47bca43005c8782d5429db Mon Sep 17 00:00:00 2001 From: Tobias Netzel Date: Mon, 19 Nov 2012 09:09:17 -0800 Subject: [PATCH] Bug 812932 - Have EndianMacros.h recognize __BIG_ENDIAN__ preprocessor macro - r=bbondy --- image/src/EndianMacros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image/src/EndianMacros.h b/image/src/EndianMacros.h index 51b6e5ee762..5095d136383 100644 --- a/image/src/EndianMacros.h +++ b/image/src/EndianMacros.h @@ -6,7 +6,7 @@ #define MOZILLA_IMAGELIB_ENDIAN_H_ -#if defined WORDS_BIGENDIAN || defined IS_BIG_ENDIAN +#if defined WORDS_BIGENDIAN || defined IS_BIG_ENDIAN || defined __BIG_ENDIAN__ // We must ensure that the entity is unsigned // otherwise, if it is signed/negative, the MSB will be // propagated when we shift