mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
Bug 812932 - Have EndianMacros.h recognize __BIG_ENDIAN__ preprocessor macro - r=bbondy
This commit is contained in:
parent
4ecae3c753
commit
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
|
||||
|
Loading…
Reference in New Issue
Block a user