Improve ARM feature detection for ARM64

pull/174/head
Jeffrey Walton 2016-05-15 05:37:39 -04:00
parent 01f77765d4
commit 950cf4cdb9
2 changed files with 2 additions and 2 deletions

View File

@ -528,7 +528,7 @@ NAMESPACE_END
#define CRYPTOPP_BOOL_ARM32 0
#endif
#if defined(__aarch64__)
#if defined(__arm64__) || defined(__aarch64__) || defined(_M_ARM64)
#define CRYPTOPP_BOOL_ARM64 1
#else
#define CRYPTOPP_BOOL_ARM64 0

View File

@ -528,7 +528,7 @@ NAMESPACE_END
#define CRYPTOPP_BOOL_ARM32 0
#endif
#if defined(__aarch64__)
#if defined(__arm64__) || defined(__aarch64__) || defined(_M_ARM64)
#define CRYPTOPP_BOOL_ARM64 1
#else
#define CRYPTOPP_BOOL_ARM64 0