Add CRYPTOPP_CLANG_VERSION for ARM asm defines

We should be using both CRYPTOPP_APPLE_CLANG_VERSION and CRYPTOPP_LLVM_CLANG_VERSION. We'll loop back to it when we have some time.
pull/853/head
Jeffrey Walton 2019-05-21 03:02:35 -04:00
parent 5fb03078eb
commit 08235400b0
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 3 additions and 0 deletions

View File

@ -39,6 +39,9 @@
# define CRYPTOPP_LLVM_CLANG_VERSION (__clang_major__ * 10000 + __clang_minor__ * 100 + __clang_patchlevel__)
#endif
// ARM uses CRYPTOPP_CLANG_VERSION. TODO: fix ARM defines to use Apple and LLVM version info.
# define CRYPTOPP_CLANG_VERSION (__clang_major__ * 10000 + __clang_minor__ * 100 + __clang_patchlevel__)
#ifdef _MSC_VER
# define CRYPTOPP_MSC_VERSION (_MSC_VER)
#endif