diff --git a/regint.h b/regint.h index 5543ca8..c389477 100644 --- a/regint.h +++ b/regint.h @@ -50,6 +50,7 @@ #if defined(__i386) || defined(__i386__) || defined(_M_IX86) || \ defined(__x86_64) || defined(__x86_64__) || defined(_M_AMD64) || \ + defined(__powerpc64__) || \ defined(__mc68020__) #define PLATFORM_UNALIGNED_WORD_ACCESS #endif diff --git a/siphash.c b/siphash.c index cd8ba62..0df96f8 100644 --- a/siphash.c +++ b/siphash.c @@ -30,6 +30,7 @@ #ifndef UNALIGNED_WORD_ACCESS # if defined(__i386) || defined(__i386__) || defined(_M_IX86) || \ defined(__x86_64) || defined(__x86_64__) || defined(_M_AMD64) || \ + defined(__powerpc64__) || \ defined(__mc68020__) # define UNALIGNED_WORD_ACCESS 1 # endif diff --git a/st.c b/st.c index 3bb85c2..9f21a96 100644 --- a/st.c +++ b/st.c @@ -1320,6 +1320,7 @@ strhash(st_data_t arg) #ifndef UNALIGNED_WORD_ACCESS # if defined(__i386) || defined(__i386__) || defined(_M_IX86) || \ defined(__x86_64) || defined(__x86_64__) || defined(_M_AMD64) || \ + defined(__powerpc64__) || \ defined(__mc68020__) # define UNALIGNED_WORD_ACCESS 1 # endif