termux-packages/packages/liblzo/include-lzo-lzodefs.h.patch

13 lines
385 B
Diff

--- a/include/lzo/lzodefs.h
+++ b/include/lzo/lzodefs.h
@@ -2604,7 +2604,8 @@
# define LZO_OPT_UNALIGNED64 1
# endif
#elif (LZO_ARCH_ARM)
-# if defined(__ARM_FEATURE_UNALIGNED)
+# if defined(__ANDROID__)
+# elif defined(__ARM_FEATURE_UNALIGNED)
# if ((__ARM_FEATURE_UNALIGNED)+0)
# ifndef LZO_OPT_UNALIGNED16
# define LZO_OPT_UNALIGNED16 1