diff options
author | Jeffrey Walton <noloader@gmail.com> | 2016-09-21 13:57:37 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2016-09-21 13:57:37 -0400 |
commit | 6200029faae23710fa88638269e9272664509b91 (patch) | |
tree | 9e41722ab1106bb737e3b31f1de26d625e5dfa08 /vmac.h | |
parent | 1de8ca5774c2688f51b2c6e636a6507016ea8be9 (diff) | |
download | cryptopp-git-6200029faae23710fa88638269e9272664509b91.tar.gz |
Fix Clang 3.3 and 3.4 compiles (Issue 264)
Diffstat (limited to 'vmac.h')
-rw-r--r-- | vmac.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -10,7 +10,9 @@ #include "iterhash.h"
#include "seckey.h"
-#if CRYPTOPP_BOOL_X32
+// Clang 3.3 integrated assembler crash on Linux
+// http://github.com/weidai11/cryptopp/issues/264
+#if (defined(CRYPTOPP_LLVM_CLANG_VERSION) && (CRYPTOPP_LLVM_CLANG_VERSION < 30400)) || CRYPTOPP_BOOL_X32
# define CRYPTOPP_DISABLE_VMAC_ASM
#endif
|