--- a/vendor/tikv-jemalloc-sys/jemalloc/include/jemalloc/internal/quantum.h	2021-07-26 23:20:39.000000000 +0800
+++ b/vendor/tikv-jemalloc-sys/jemalloc/include/jemalloc/internal/quantum.h	2025-12-15 21:16:07.000000000 +0800
@@ -42,7 +42,7 @@
 #  ifdef __or1k__
 #    define LG_QUANTUM		3
 #  endif
-#  ifdef __powerpc__
+#  if (defined(__powerpc__) || defined(__POWERPC__))
 #    define LG_QUANTUM		4
 #  endif
 #  if defined(__riscv) || defined(__riscv__)
