summaryrefslogtreecommitdiff
path: root/config_cpu.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-08-18 04:27:25 -0400
committerJeffrey Walton <noloader@gmail.com>2019-08-18 04:27:25 -0400
commitb9ff95f35a2ffe236f6d004ae906e7ae1eb6bd0b (patch)
tree3fa513b22cd9795f6e14ff4723a450ab555104c9 /config_cpu.h
parent6545754337e202d8fb4d80c2953a7031666cbd9f (diff)
downloadcryptopp-git-b9ff95f35a2ffe236f6d004ae906e7ae1eb6bd0b.tar.gz
Add define for CRYPTOPP_BOOL_ARM64
Diffstat (limited to 'config_cpu.h')
-rw-r--r--config_cpu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config_cpu.h b/config_cpu.h
index 00005862..6f5d400a 100644
--- a/config_cpu.h
+++ b/config_cpu.h
@@ -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