From: Dale Weiler Date: Sat, 14 Dec 2013 06:34:33 +0000 (-0500) Subject: Do not include this function unless !defined(__SSE__) X-Git-Tag: xonotic-v0.8.0~33 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=commitdiff_plain;h=4c5a0ff662b40249dc761c1c500000bf184190fc Do not include this function unless !defined(__SSE__) --- diff --git a/hash.c b/hash.c index c71ba71..937ccda 100644 --- a/hash.c +++ b/hash.c @@ -349,7 +349,7 @@ static GMQCC_FORCEINLINE uint32_t hash_sse(const void *GMQCC_RESTRICT key, size_ } #endif -#if defined (__GNUC__) && defined(__i386__) +#if defined (__GNUC__) && defined(__i386__) && !defined(__SSE__) /* * Emulate MSVC _cpuid intrinsic for GCC/MinGW/Clang, this will be used * to determine if we should use the SSE route.