summaryrefslogtreecommitdiff
path: root/siphash.c
diff options
context:
space:
mode:
Diffstat (limited to 'siphash.c')
-rw-r--r--siphash.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/siphash.c b/siphash.c
index 294e75eaec..61b8604fc9 100644
--- a/siphash.c
+++ b/siphash.c
@@ -34,10 +34,11 @@
#error "Only strictly little or big endian supported"
#endif
+/* __POWERPC__ added to accommodate Darwin case. */
#ifndef UNALIGNED_WORD_ACCESS
# if defined(__i386) || defined(__i386__) || defined(_M_IX86) || \
defined(__x86_64) || defined(__x86_64__) || defined(_M_AMD64) || \
- defined(__powerpc64__) || defined(__aarch64__) || \
+ defined(__powerpc64__) || defined(__POWERPC__) || defined(__aarch64__) || \
defined(__mc68020__)
# define UNALIGNED_WORD_ACCESS 1
# endif