From 08235400b0dd5405e6fde2eb4061bd8682f30700 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Tue, 21 May 2019 03:02:35 -0400 Subject: 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. --- config_ver.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config_ver.h') diff --git a/config_ver.h b/config_ver.h index 7369f5ef..8008d432 100644 --- a/config_ver.h +++ b/config_ver.h @@ -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 -- cgit v1.2.1