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 | 61da23a5b7f309ad4bde556faafd75402be4400a (patch) | |
tree | 828edda37d45fcb45f03ad6f217b8948f99d64d3 /media | |
parent | 29c844290d3791fbe3cbd9c9873fe4726e65d3a7 (diff) | |
download | aura-central-61da23a5b7f309ad4bde556faafd75402be4400a.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 8966586a7..1fb3e86d0 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 |