diff options
author | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2020-05-12 12:40:14 +0800 |
---|---|---|
committer | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2020-05-14 16:31:59 +0800 |
commit | fee5da8d111a8d27f8c48d7ee66856716b1266fc (patch) | |
tree | 828edda37d45fcb45f03ad6f217b8948f99d64d3 /media | |
parent | 32a4d5c41609ebe01ce08285f8e4996403199bbc (diff) | |
download | uxp-fee5da8d111a8d27f8c48d7ee66856716b1266fc.tar.gz |
Bug 1384826 - Media: WebRTC: Fix build config for MIPS
Tag: #1542
Diffstat (limited to 'media')
-rw-r--r-- | media/webrtc/trunk/build/build_config.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/media/webrtc/trunk/build/build_config.h b/media/webrtc/trunk/build/build_config.h index 8966586a7a..1fb3e86d0d 100644 --- a/media/webrtc/trunk/build/build_config.h +++ b/media/webrtc/trunk/build/build_config.h @@ -114,11 +114,6 @@ #define ARCH_CPU_LITTLE_ENDIAN 1 #elif defined(__pnacl__) #define ARCH_CPU_32_BITS 1 -#elif defined(__MIPSEL__) -#define ARCH_CPU_MIPS_FAMILY 1 -#define ARCH_CPU_MIPSEL 1 -#define ARCH_CPU_32_BITS 1 -#define ARCH_CPU_LITTLE_ENDIAN 1 #elif defined(__powerpc64__) #define ARCH_CPU_PPC_FAMILY 1 #define ARCH_CPU_PPC64 1 @@ -141,6 +136,11 @@ #define ARCH_CPU_MIPS_FAMILY 1 #define ARCH_CPU_MIPS 1 #define ARCH_CPU_32_BITS 1 +#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ +#define ARCH_CPU_LITTLE_ENDIAN 1 +#else +#define ARCH_CPU_BIG_ENDIAN 1 +#endif #elif defined(__hppa__) #define ARCH_CPU_HPPA 1 #define ARCH_CPU_32_BITS 1 |