summaryrefslogtreecommitdiff
path: root/pixman/pixman-cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'pixman/pixman-cpu.c')
-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 d727ddb..e96b140 100644
--- a/pixman/pixman-cpu.c
+++ b/pixman/pixman-cpu.c
@@ -309,7 +309,7 @@ pixman_have_arm_neon (void)
#endif /* USE_ARM_SIMD || USE_ARM_NEON */
-#ifdef USE_MMX
+#if defined(USE_MMX) || defined(USE_SSE2)
/* The CPU detection code needs to be in a file not compiled with
* "-mmmx -msse", as gcc would generate CMOV instructions otherwise
* that would lead to SIGILL instructions on old CPUs that don't have