summaryrefslogtreecommitdiff
path: root/tiger.cpp
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 /tiger.cpp
parent1de8ca5774c2688f51b2c6e636a6507016ea8be9 (diff)
downloadcryptopp-git-6200029faae23710fa88638269e9272664509b91.tar.gz
Fix Clang 3.3 and 3.4 compiles (Issue 264)
Diffstat (limited to 'tiger.cpp')
-rw-r--r--tiger.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tiger.cpp b/tiger.cpp
index fc62be7d..d7261f92 100644
--- a/tiger.cpp
+++ b/tiger.cpp
@@ -7,6 +7,13 @@
#include "misc.h"
#include "cpu.h"
+#if defined(CRYPTOPP_DISABLE_TIGER_ASM)
+# undef CRYPTOPP_X86_ASM_AVAILABLE
+# undef CRYPTOPP_X32_ASM_AVAILABLE
+# undef CRYPTOPP_X64_ASM_AVAILABLE
+# undef CRYPTOPP_BOOL_SSE2_ASM_AVAILABLE
+#endif
+
NAMESPACE_BEGIN(CryptoPP)
void Tiger::InitState(HashWordType *state)