From 7710cc8506be571ce83751c8f7afbe6fac256b36 Mon Sep 17 00:00:00 2001 From: Yonggang Luo Date: Sun, 6 Nov 2022 20:34:28 +0800 Subject: [PATCH] util: Test __PPC64__ for getting PIPE_ARCH_PPC_64 respond to __PPC64__ take effect MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: e737a99a6fb ("Fix PPC detection on darwin") Signed-off-by: Yonggang Luo Reviewed-by: Marek Olšák Part-of: --- src/gallium/include/pipe/p_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/include/pipe/p_config.h b/src/gallium/include/pipe/p_config.h index 26c6d6008a2..f35a7dc9f04 100644 --- a/src/gallium/include/pipe/p_config.h +++ b/src/gallium/include/pipe/p_config.h @@ -98,7 +98,7 @@ #endif #endif -#if defined(__ppc__) || defined(__ppc64__) || defined(__PPC__) +#if defined(__ppc__) || defined(__ppc64__) || defined(__PPC__) || defined(__PPC64__) #define PIPE_ARCH_PPC #if defined(__ppc64__) || defined(__PPC64__) #define PIPE_ARCH_PPC_64