summaryrefslogtreecommitdiff
path: root/vmac.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-09-21 13:57:37 -0400
committerJeffrey Walton <noloader@gmail.com>2016-09-21 13:57:37 -0400
commit6200029faae23710fa88638269e9272664509b91 (patch)
tree9e41722ab1106bb737e3b31f1de26d625e5dfa08 /vmac.h
parent1de8ca5774c2688f51b2c6e636a6507016ea8be9 (diff)
downloadcryptopp-git-6200029faae23710fa88638269e9272664509b91.tar.gz
Fix Clang 3.3 and 3.4 compiles (Issue 264)
Diffstat (limited to 'vmac.h')
-rw-r--r--vmac.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/vmac.h b/vmac.h
index bae39971..0723b1c4 100644
--- a/vmac.h
+++ b/vmac.h
@@ -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