summaryrefslogtreecommitdiffstats
path: root/media/webrtc/trunk/build/build_config.h
diff options
context:
space:
mode:
authorJiaxun Yang <jiaxun.yang@flygoat.com>2020-05-12 12:40:15 +0800
committerMoonchild <moonchild@palemoon.org>2020-05-20 14:03:46 +0000
commitfb8fcffe1d6d05c56d0a97cf2d874e6d72757134 (patch)
tree92756948e39d5f1cedad5028ff3e021ceb8dd9d8 /media/webrtc/trunk/build/build_config.h
parentb67a630966a7431fc80c2c42412d8652907845e8 (diff)
downloadUXP-fb8fcffe1d6d05c56d0a97cf2d874e6d72757134.tar
UXP-fb8fcffe1d6d05c56d0a97cf2d874e6d72757134.tar.gz
UXP-fb8fcffe1d6d05c56d0a97cf2d874e6d72757134.tar.lz
UXP-fb8fcffe1d6d05c56d0a97cf2d874e6d72757134.tar.xz
UXP-fb8fcffe1d6d05c56d0a97cf2d874e6d72757134.zip
Bug 1426323 - Media: WebRTC: Fix build config for MIPS64
Tag: #1542
Diffstat (limited to 'media/webrtc/trunk/build/build_config.h')
-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