зеркало из https://github.com/mozilla/gecko-dev.git
Bug 812932 - Have EndianMacros.h recognize __BIG_ENDIAN__ preprocessor macro - r=bbondy
This commit is contained in:
Родитель
4ecae3c753
Коммит
f754fd5fcb
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче