aboutsummaryrefslogtreecommitdiff
path: root/bswap.h
diff options
context:
space:
mode:
Diffstat (limited to 'bswap.h')
-rw-r--r--bswap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bswap.h b/bswap.h
index 08b77d9377..63b81cc43b 100644
--- a/bswap.h
+++ b/bswap.h
@@ -134,7 +134,7 @@ CPU_CONVERT(le, 64, uint64_t)
/* unaligned versions (optimized for frequent unaligned accesses)*/
-#if defined(__i386__) || defined(__powerpc__)
+#if defined(__i386__) || defined(_ARCH_PPC)
#define cpu_to_le16wu(p, v) cpu_to_le16w(p, v)
#define cpu_to_le32wu(p, v) cpu_to_le32w(p, v)