From 64a7c9e2d2f8c9ebdc4c70c16c630cebbd5abe53 Mon Sep 17 00:00:00 2001 From: JMadgwick Date: Thu, 5 Mar 2020 21:03:44 +0000 Subject: 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. --- toolkit/components/protobuf/src/google/protobuf/stubs/platform_macros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toolkit/components') 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 -- cgit v1.2.3