summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMakoto Kato <m_kato@ga2.so-net.ne.jp>2009-09-01 10:59:05 +0900
committerSøren Sandmann Pedersen <sandmann@redhat.com>2009-09-02 16:04:02 -0400
commitd465f854b3d5f2ffcc122aebfbead2d64cca7169 (patch)
tree7acbc9d281dbb99d5de2a812cb94ab150f61d07c
parent57812465bf975e943e78d59dabbd5e6bb2ad87ef (diff)
Add CPU detection for VC++ x64
VC++ x64 has no inline assembler and x64 mode supports SSE2. So, it is unnecessary to call cpuid.
-rw-r--r--pixman/pixman-cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pixman/pixman-cpu.c b/pixman/pixman-cpu.c
index a2a7b8a..5d5469b 100644
--- a/pixman/pixman-cpu.c
+++ b/pixman/pixman-cpu.c
@@ -325,7 +325,7 @@ pixman_have_arm_neon (void)
* that would lead to SIGILL instructions on old CPUs that don't have
* it.
*/
-#if !defined(__amd64__) && !defined(__x86_64__)
+#if !defined(__amd64__) && !defined(__x86_64__) && !defined(_M_AMD64)
#ifdef HAVE_GETISAX
#include <sys/auxv.h>