From d465f854b3d5f2ffcc122aebfbead2d64cca7169 Mon Sep 17 00:00:00 2001 From: Makoto Kato Date: Tue, 1 Sep 2009 10:59:05 +0900 Subject: Add CPU detection for VC++ x64 VC++ x64 has no inline assembler and x64 mode supports SSE2. So, it is unnecessary to call cpuid. --- pixman/pixman-cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3