diff options
author | NiLuJe <ninuje@gmail.com> | 2020-06-05 00:48:06 +0200 |
---|---|---|
committer | Hans Kristian Rosbach <hk-github@circlestorm.org> | 2020-06-09 08:29:22 +0200 |
commit | e666b3ef34d9ce323321905cd56e949488e6f508 (patch) | |
tree | e865d7ea5b35437972efe6f727f1f6fc35906448 /compare258.c | |
parent | 88cdf333d76c18e30a67548331f57ef5dadedbfa (diff) |
Disable unaligned access of > 4 bytes on 32-bit arm
Diffstat (limited to 'compare258.c')
-rw-r--r-- | compare258.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compare258.c b/compare258.c index cb75d09..2b07998 100644 --- a/compare258.c +++ b/compare258.c @@ -143,8 +143,8 @@ int32_t compare258_unaligned_32(const unsigned char *src0, const unsigned char * #endif -#ifdef HAVE_BUILTIN_CTZLL -/* UNALIGNED_OK, 64-bit integer comparison */ +#if defined(UNALIGNED64_OK) && defined(HAVE_BUILTIN_CTZLL) +/* UNALIGNED64_OK, 64-bit integer comparison */ static inline int32_t compare256_unaligned_64_static(const unsigned char *src0, const unsigned char *src1) { int32_t len = 0; |