Avoid including <arm_acle.h> on Android (GH #546)

It sure would be nice if everyone just followed the ACLE guidlines at http://infocenter.arm.com/help/topic/com.arm.doc.ihi0053c/IHI0053C_acle_2_0.pdf
pull/548/head
Jeffrey Walton 2017-12-15 17:00:39 -05:00
parent 43a34590a9
commit 93f6901119
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 4 additions and 0 deletions

View File

@ -613,6 +613,10 @@ NAMESPACE_END
# define CRYPTOPP_ARM_ACLE_AVAILABLE 1
#endif
#if (defined(__ANDROID__) || defined(ANDROID)) && !defined(__ARM_ACLE)
# undef CRYPTOPP_ARM_ACLE_AVAILABLE
#endif
#endif // ARM32, ARM64
// ***************** AltiVec and Power8 ********************