summaryrefslogtreecommitdiffstats
path: root/toolkit/components
diff options
context:
space:
mode:
authorJMadgwick <james.madgwick@outlook.com>2020-03-05 21:03:44 +0000
committerJMadgwick <james.madgwick@outlook.com>2020-03-09 20:55:13 +0000
commitf7c9359b2ac431ac99fb4e8a1ebd799e6e8fb21c (patch)
tree8af67b167fb752ce55ec4a15c46162d8c069b5c7 /toolkit/components
parent88da01c294175f81091e1499374415404e27a57a (diff)
downloadUXP-f7c9359b2ac431ac99fb4e8a1ebd799e6e8fb21c.tar
UXP-f7c9359b2ac431ac99fb4e8a1ebd799e6e8fb21c.tar.gz
UXP-f7c9359b2ac431ac99fb4e8a1ebd799e6e8fb21c.tar.lz
UXP-f7c9359b2ac431ac99fb4e8a1ebd799e6e8fb21c.tar.xz
UXP-f7c9359b2ac431ac99fb4e8a1ebd799e6e8fb21c.zip
Issue #1471 - Fix building on sparc64 Linux
Correct various pre-processor defines for sparc64 and in mozjemalloc use the JS arm64 allocator on Linux/sparc64. This corrects build problems opn Linux sparc64 and is in line with bugzilla bug #1275204.
Diffstat (limited to 'toolkit/components')
-rw-r--r--toolkit/components/protobuf/src/google/protobuf/stubs/platform_macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/components/protobuf/src/google/protobuf/stubs/platform_macros.h b/toolkit/components/protobuf/src/google/protobuf/stubs/platform_macros.h
index 7956d076d..b05f2f853 100644
--- a/toolkit/components/protobuf/src/google/protobuf/stubs/platform_macros.h
+++ b/toolkit/components/protobuf/src/google/protobuf/stubs/platform_macros.h
@@ -67,7 +67,7 @@
#define GOOGLE_PROTOBUF_ARCH_32_BIT 1
#elif defined(sparc)
#define GOOGLE_PROTOBUF_ARCH_SPARC 1
-#ifdef SOLARIS_64BIT_ENABLED
+#ifdef __arch64__
#define GOOGLE_PROTOBUF_ARCH_64_BIT 1
#else
#define GOOGLE_PROTOBUF_ARCH_32_BIT 1