summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiaxun Yang <jiaxun.yang@flygoat.com>2020-05-12 12:40:15 +0800
committerJiaxun Yang <jiaxun.yang@flygoat.com>2020-05-14 16:32:46 +0800
commit088685a828f7e6477e88c412a56508b474ebe8b4 (patch)
tree6f679ac551589b5e4c5262d188f932f7c95eee02
parent7ce1ea0a41c20e168922f8e9c25f220e19887c10 (diff)
downloadUXP-088685a828f7e6477e88c412a56508b474ebe8b4.tar
UXP-088685a828f7e6477e88c412a56508b474ebe8b4.tar.gz
UXP-088685a828f7e6477e88c412a56508b474ebe8b4.tar.lz
UXP-088685a828f7e6477e88c412a56508b474ebe8b4.tar.xz
UXP-088685a828f7e6477e88c412a56508b474ebe8b4.zip
Bug 1426323 - Media: WebRTC: Fix build config for MIPS64
Tag: #1542
-rw-r--r--media/webrtc/trunk/build/build_config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/media/webrtc/trunk/build/build_config.h b/media/webrtc/trunk/build/build_config.h
index 1fb3e86d0..93a28855b 100644
--- a/media/webrtc/trunk/build/build_config.h
+++ b/media/webrtc/trunk/build/build_config.h
@@ -135,7 +135,11 @@
#elif defined(__mips__)
#define ARCH_CPU_MIPS_FAMILY 1
#define ARCH_CPU_MIPS 1
+#if defined(__LP64__)
+#define ARCH_CPU_64_BITS 1
+#else
#define ARCH_CPU_32_BITS 1
+#endif
#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
#define ARCH_CPU_LITTLE_ENDIAN 1
#else