summaryrefslogtreecommitdiffstats
path: root/media/webrtc/trunk
diff options
context:
space:
mode:
authorJiaxun Yang <jiaxun.yang@flygoat.com>2020-05-12 12:40:14 +0800
committerMoonchild <moonchild@palemoon.org>2020-05-20 14:03:20 +0000
commite59757fddff8a2249427d5161ef1705c4146af6d (patch)
tree40c058feb0d64372a041d872c0cb1ee954aa26f5 /media/webrtc/trunk
parentbe954fca7288d4e743b279272505f63544e6ec8d (diff)
downloadUXP-e59757fddff8a2249427d5161ef1705c4146af6d.tar
UXP-e59757fddff8a2249427d5161ef1705c4146af6d.tar.gz
UXP-e59757fddff8a2249427d5161ef1705c4146af6d.tar.lz
UXP-e59757fddff8a2249427d5161ef1705c4146af6d.tar.xz
UXP-e59757fddff8a2249427d5161ef1705c4146af6d.zip
Bug 1384826 - Media: WebRTC: Fix build config for MIPS
Tag: #1542
Diffstat (limited to 'media/webrtc/trunk')
-rw-r--r--media/webrtc/trunk/build/build_config.h10
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