--- include/jemalloc/internal/quantum.h.orig	2019-08-06 04:02:00.000000000 +0800
+++ include/jemalloc/internal/quantum.h	2022-05-21 23:25:25.000000000 +0800
@@ -42,7 +42,7 @@
 #  ifdef __or1k__
 #    define LG_QUANTUM		3
 #  endif
-#  ifdef __powerpc__
+#  if defined(__powerpc__) || defined(__ppc__) || defined(__powerpc64__) || defined(__ppc64__)
 #    define LG_QUANTUM		4
 #  endif
 #  if defined(__riscv) || defined(__riscv__)
