summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiaxun Yang <jiaxun.yang@flygoat.com>2020-05-12 12:40:03 +0800
committerMoonchild <moonchild@palemoon.org>2020-05-20 13:59:46 +0000
commita17ab79b887f582e3fcaab724b160ea3781fdf4f (patch)
tree148bbb5a8858aa44f0ef34ebd0af9ff206cee114
parentf11fff32fa63a9966faca82d1e6d8a287902267e (diff)
downloadUXP-a17ab79b887f582e3fcaab724b160ea3781fdf4f.tar
UXP-a17ab79b887f582e3fcaab724b160ea3781fdf4f.tar.gz
UXP-a17ab79b887f582e3fcaab724b160ea3781fdf4f.tar.lz
UXP-a17ab79b887f582e3fcaab724b160ea3781fdf4f.tar.xz
UXP-a17ab79b887f582e3fcaab724b160ea3781fdf4f.zip
Issue #1542 - nsprpub: _PR_SI_ARCHITECTURE add missing mips64
-rw-r--r--nsprpub/pr/include/md/_linux.h2
-rw-r--r--nsprpub/pr/include/md/_netbsd.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/nsprpub/pr/include/md/_linux.h b/nsprpub/pr/include/md/_linux.h
index 774245e52..3226a04b3 100644
--- a/nsprpub/pr/include/md/_linux.h
+++ b/nsprpub/pr/include/md/_linux.h
@@ -37,6 +37,8 @@
#define _PR_SI_ARCHITECTURE "sparc"
#elif defined(__i386__)
#define _PR_SI_ARCHITECTURE "x86"
+#elif defined(__mips64__)
+#define _PR_SI_ARCHITECTURE "mips64"
#elif defined(__mips__)
#define _PR_SI_ARCHITECTURE "mips"
#elif defined(__arm__)
diff --git a/nsprpub/pr/include/md/_netbsd.h b/nsprpub/pr/include/md/_netbsd.h
index 1ec0fe6ec..b262acee6 100644
--- a/nsprpub/pr/include/md/_netbsd.h
+++ b/nsprpub/pr/include/md/_netbsd.h
@@ -25,6 +25,8 @@
#define _PR_SI_ARCHITECTURE "sparc64"
#elif defined(__sparc__)
#define _PR_SI_ARCHITECTURE "sparc"
+#elif defined(__mips64__)
+#define _PR_SI_ARCHITECTURE "mips64"
#elif defined(__mips__)
#define _PR_SI_ARCHITECTURE "mips"
#elif defined(__arm32__) || defined(__arm__) || defined(__armel__) \