From 567725ed303b6738493c80efaf93dc4c1e65a9c9 Mon Sep 17 00:00:00 2001 From: Sergey Fedorov Date: Wed, 19 Oct 2022 18:49:45 +0800 Subject: Fix and improve coroutines for Darwin (macOS) ppc/ppc64. (#5975) --- siphash.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'siphash.c') 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 -- cgit v1.2.1