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
Родитель 4ecae3c753
Коммит f754fd5fcb
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

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