Bug 812932 - Have EndianMacros.h recognize __BIG_ENDIAN__ preprocessor macro - r=bbondy

This commit is contained in:
Tobias Netzel 2012-11-19 09:09:17 -08:00
parent 4ecae3c753
commit f754fd5fcb

View File

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