Patch Zydis for Mac OS X ppc support (Fix #6584) (#6587)

Port of upstream
1561ba3596
until released

Co-authored-by: Sergey Fedorov <vital.had@gmail.com>
This commit is contained in:
Florian Märkl 2026-07-02 15:18:09 +02:00 committed by GitHub
parent 893ff4e380
commit e8d6c98fcb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -220,9 +220,9 @@
# define ZYAN_WASM # define ZYAN_WASM
#elif defined(__loongarch__) #elif defined(__loongarch__)
# define ZYAN_LOONGARCH # define ZYAN_LOONGARCH
#elif defined(__powerpc64__) #elif defined(__powerpc64__) || defined(__ppc64__)
# define ZYAN_PPC64 # define ZYAN_PPC64
#elif defined(__powerpc__) #elif defined(__powerpc__) || defined(__ppc__)
# define ZYAN_PPC # define ZYAN_PPC
#elif defined(__riscv) || defined(__riscv__) #elif defined(__riscv) || defined(__riscv__)
# if __riscv_xlen == 64 # if __riscv_xlen == 64