util: Test __PPC64__ for getting PIPE_ARCH_PPC_64 respond to __PPC64__ take effect

Fixes: e737a99a6f ("Fix PPC detection on darwin")

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19674>
(cherry picked from commit 7710cc8506be571ce83751c8f7afbe6fac256b36)
This commit is contained in:
Yonggang Luo 2022-11-06 20:34:28 +08:00 committed by Dylan Baker
parent bed2fd361c
commit c2362cf43c
2 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@
"description": "util: Test __PPC64__ for getting PIPE_ARCH_PPC_64 respond to __PPC64__ take effect",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "e737a99a6fbafe3ba4b5175eea25d1598dbeb9d8"
},

View File

@ -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