diff options
author | Jeffrey Walton <noloader@gmail.com> | 2017-12-15 17:00:39 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2017-12-15 17:00:39 -0500 |
commit | 93f69011196664ef6ff9e8712799a12a86936e58 (patch) | |
tree | 62ad6d0b476694e5e52c21bee55f889e4a5770eb /config.h | |
parent | 43a34590a994e37044b76b379338c57c5d32010f (diff) | |
download | cryptopp-git-93f69011196664ef6ff9e8712799a12a86936e58.tar.gz |
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
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 ********************
|