[Pixman] [PATCH 3/4] Silence a warning about unused pixman_have_mmx

Jeremy Huddleston jeremyhu at apple.com
Thu Mar 8 09:41:33 PST 2012


Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>
---
 pixman/pixman-cpu.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/pixman/pixman-cpu.c b/pixman/pixman-cpu.c
index bb97ae3..1060f47 100644
--- a/pixman/pixman-cpu.c
+++ b/pixman/pixman-cpu.c
@@ -666,6 +666,7 @@ detect_cpu_features (void)
     return features;
 }
 
+#ifdef USE_X86_MMX
 static pixman_bool_t
 pixman_have_mmx (void)
 {
@@ -681,6 +682,7 @@ pixman_have_mmx (void)
 
     return mmx_present;
 }
+#endif
 
 #ifdef USE_SSE2
 static pixman_bool_t
-- 
1.7.9



More information about the Pixman mailing list