diff options
author | Jeffrey Walton <noloader@gmail.com> | 2020-07-28 22:09:51 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2020-07-28 22:09:51 -0400 |
commit | f8efb43a88f8ad4fb931075c7cba8a3e023aa17f (patch) | |
tree | f828caa7a20f412f21258d307da6f03869d33279 /TestPrograms/test_arm_sha3.cxx | |
parent | 54536ed4463eff2e832e7618f45be71e6ad3ab6d (diff) | |
download | cryptopp-git-f8efb43a88f8ad4fb931075c7cba8a3e023aa17f.tar.gz |
Avoid arm_acle.h header guard in feature tests (GH #950)
Diffstat (limited to 'TestPrograms/test_arm_sha3.cxx')
-rw-r--r-- | TestPrograms/test_arm_sha3.cxx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/TestPrograms/test_arm_sha3.cxx b/TestPrograms/test_arm_sha3.cxx index ad6cb97c..e2940142 100644 --- a/TestPrograms/test_arm_sha3.cxx +++ b/TestPrograms/test_arm_sha3.cxx @@ -1,13 +1,7 @@ #include <arm_neon.h>
+#include <arm_acle.h>
#include <stdint.h>
-// test_acle.h determines if this is available. Then,
-// -DCRYPTOPP_ARM_ACLE_HEADER=0 is added to CXXFLAGS
-// if the ACLE header is not available.
-#if (CRYPTOPP_ARM_ACLE_HEADER)
-# include <arm_acle.h>
-#endif
-
int main(int argc, char* argv[])
{
// SM4 block cipher
|