blob: 1b85914ed4ffb3b96439b04bac260f58f3e4eef7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
Fix for building johntheripper with clang.
https://bugs.gentoo.org/show_bug.cgi?id=554392
--- john-1.7.9-jumbo-7/src/rawSHA1_ng_fmt.c
+++ john-1.7.9-jumbo-7/src/rawSHA1_ng_fmt.c
@@ -530,7 +530,7 @@
#if defined(__SSE4_1__)
-# if !defined(__INTEL_COMPILER)
+# if !defined(__INTEL_COMPILER) && !defined(__clang__)
// This intrinsic is not always available in GCC, so define it here.
static inline int _mm_testz_si128 (__m128i __M, __m128i __V)
{
|