summaryrefslogtreecommitdiff
path: root/TestPrograms/test_arm_aes.cxx
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2020-07-28 22:09:51 -0400
committerJeffrey Walton <noloader@gmail.com>2020-07-28 22:09:51 -0400
commitf8efb43a88f8ad4fb931075c7cba8a3e023aa17f (patch)
treef828caa7a20f412f21258d307da6f03869d33279 /TestPrograms/test_arm_aes.cxx
parent54536ed4463eff2e832e7618f45be71e6ad3ab6d (diff)
downloadcryptopp-git-f8efb43a88f8ad4fb931075c7cba8a3e023aa17f.tar.gz
Avoid arm_acle.h header guard in feature tests (GH #950)
Diffstat (limited to 'TestPrograms/test_arm_aes.cxx')
-rw-r--r--TestPrograms/test_arm_aes.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/TestPrograms/test_arm_aes.cxx b/TestPrograms/test_arm_aes.cxx
index a64294db..e41ce865 100644
--- a/TestPrograms/test_arm_aes.cxx
+++ b/TestPrograms/test_arm_aes.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[])
{
uint8x16_t x={0};