diff --git a/common_defs.h b/common_defs.h index a0868d44..bd4d954b 100644 --- a/common_defs.h +++ b/common_defs.h @@ -402,7 +402,8 @@ static forceinline u64 bswap64(u64 v) */ #if (defined(__GNUC__) || defined(__clang__)) && \ (defined(ARCH_X86_64) || defined(ARCH_X86_32) || \ - defined(__ARM_FEATURE_UNALIGNED) || defined(__powerpc64__) || \ + defined(__ARM_FEATURE_UNALIGNED) || \ + defined(__powerpc64__) || defined(__powerpc__) || defined(__POWERPC__) || \ defined(__riscv_misaligned_fast) || \ /* * For all compilation purposes, WebAssembly behaves like any other CPU