ffmpeg-6: fix COMPONENT_REVISION
[oi-userland.git] / components / web / firefox / patches / 04-little-endian.patch
blobd2027327574d5b33142f8d50fde47858f1a22c09
1 diff --git a/gfx/angle/checkout/src/common/third_party/smhasher/src/PMurHash.cpp b/gfx/angle/checkout/src/common/third_party/smhasher/src/PMurHash.cpp
2 index 379e5ce..85e0269 100644
3 --- a/gfx/angle/checkout/src/common/third_party/smhasher/src/PMurHash.cpp
4 +++ b/gfx/angle/checkout/src/common/third_party/smhasher/src/PMurHash.cpp
5 @@ -92,9 +92,9 @@ on big endian machines, or a byte-by-byte read if the endianess is unknown.
6 * or even _LITTLE_ENDIAN or _BIG_ENDIAN (Note the single _ prefix) */
7 #if !defined(__BYTE_ORDER)
8 # if defined(__LITTLE_ENDIAN__) && __LITTLE_ENDIAN__ == 1 || \
9 - defined(_LITTLE_ENDIAN) && _LITTLE_ENDIAN == 1
10 + defined(_LITTLE_ENDIAN)
11 # define __BYTE_ORDER __LITTLE_ENDIAN
12 -# elif defined(__BIG_ENDIAN__) && __BIG_ENDIAN__ == 1 || defined(_BIG_ENDIAN) && _BIG_ENDIAN == 1
13 +# elif defined(__BIG_ENDIAN__) && __BIG_ENDIAN__ == 1 || defined(_BIG_ENDIAN)
14 # define __BYTE_ORDER __BIG_ENDIAN
15 # endif
16 #endif