From a3caf4956a81046e0b717c764f34a0cf34ead44d Mon Sep 17 00:00:00 2001 From: Zoltan Herczeg Date: Tue, 27 Jul 2021 06:39:34 +0000 Subject: [PATCH] Fix incorrect PPC64 detection. --- sljit_src/sljitConfigInternal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sljit_src/sljitConfigInternal.h b/sljit_src/sljitConfigInternal.h index 7bb9990..025111a 100644 --- a/sljit_src/sljitConfigInternal.h +++ b/sljit_src/sljitConfigInternal.h @@ -148,7 +148,7 @@ extern "C" { #endif #elif defined (__aarch64__) #define SLJIT_CONFIG_ARM_64 1 -#elif defined(__ppc64__) || defined(__powerpc64__) || defined(_ARCH_PPC64) || (defined(_POWER) && defined(__64BIT__)) +#elif defined(__ppc64__) || defined(__powerpc64__) || (defined(_ARCH_PPC64) && defined(__64BIT__)) || (defined(_POWER) && defined(__64BIT__)) #define SLJIT_CONFIG_PPC_64 1 #elif defined(__ppc__) || defined(__powerpc__) || defined(_ARCH_PPC) || defined(_ARCH_PWR) || defined(_ARCH_PWR2) || defined(_POWER) #define SLJIT_CONFIG_PPC_32 1 -- 2.11.4.GIT