summaryrefslogtreecommitdiffstats
path: root/nsprpub/pr
diff options
context:
space:
mode:
authorJiaxun Yang <jiaxun.yang@flygoat.com>2020-05-12 12:40:03 +0800
committerJiaxun Yang <jiaxun.yang@flygoat.com>2020-05-14 16:31:45 +0800
commit402bfbe48940b5a653d4490b99c0a124c6fe1175 (patch)
treee4538784f02c2764bdc8694b23e1b9b3d49ebafd /nsprpub/pr
parent89097a9e5c3cfd6674ea17cc5c4a786216a7fe62 (diff)
downloadUXP-402bfbe48940b5a653d4490b99c0a124c6fe1175.tar
UXP-402bfbe48940b5a653d4490b99c0a124c6fe1175.tar.gz
UXP-402bfbe48940b5a653d4490b99c0a124c6fe1175.tar.lz
UXP-402bfbe48940b5a653d4490b99c0a124c6fe1175.tar.xz
UXP-402bfbe48940b5a653d4490b99c0a124c6fe1175.zip
Issue #1542 - nsprpub: _PR_SI_ARCHITECTURE add missing mips64
Diffstat (limited to 'nsprpub/pr')
-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__) \