]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
Do not include this function unless !defined(__SSE__)
authorDale Weiler <killfieldengine@gmail.com>
Sat, 14 Dec 2013 06:34:33 +0000 (01:34 -0500)
committerDale Weiler <killfieldengine@gmail.com>
Sat, 14 Dec 2013 06:34:33 +0000 (01:34 -0500)
hash.c

diff --git a/hash.c b/hash.c
index c71ba7132de5704d7586d055b293aef0e1f47475..937ccda140047b5d32cc33733125d11e016a9718 100644 (file)
--- 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.