Add define for CRYPTOPP_BOOL_ARM64

pull/877/head
Jeffrey Walton 2019-08-18 04:27:25 -04:00
parent 6545754337
commit b9ff95f35a
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 3 additions and 0 deletions

View File

@ -30,6 +30,9 @@
// Microsoft added ARM64 define December 2017.
#if defined(__arm64__) || defined(__aarch32__) || defined(__aarch64__) || defined(_M_ARM64)
#define CRYPTOPP_BOOL_ARMV8 1
#endif
#if defined(__arm64__) || defined(__aarch64__) || defined(_M_ARM64)
#define CRYPTOPP_BOOL_ARM64 1
#elif defined(__arm__) || defined(_M_ARM)
#define CRYPTOPP_BOOL_ARM32 1
#endif