summaryrefslogtreecommitdiff
path: root/cipher/bufhelp.h
diff options
context:
space:
mode:
Diffstat (limited to 'cipher/bufhelp.h')
-rw-r--r--cipher/bufhelp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cipher/bufhelp.h b/cipher/bufhelp.h
index 1c173e27..d829cf19 100644
--- a/cipher/bufhelp.h
+++ b/cipher/bufhelp.h
@@ -29,7 +29,8 @@
#endif
-#if defined(__i386__) || defined(__x86_64__)
+#if defined(__i386__) || defined(__x86_64__) || \
+ (defined(__arm__) && defined(__ARM_FEATURE_UNALIGNED))
/* These architectures are able of unaligned memory accesses and can
handle those fast.
*/