rtasm: Silence `static function not used' warning.
authorMichal Krol <michal@vmware.com>
Fri, 10 Apr 2009 07:00:57 +0000 (09:00 +0200)
committerMichal Krol <michal@vmware.com>
Fri, 10 Apr 2009 07:07:22 +0000 (09:07 +0200)
src/gallium/auxiliary/rtasm/rtasm_cpu.c

index 03bdd472386f00717057f3ffbc7fe43da8dac09c..2e15751e5086d80e5f3e36162f7176bd7edb610a 100644 (file)
@@ -30,6 +30,7 @@
 #include "rtasm_cpu.h"
 
 
+#if defined(PIPE_ARCH_X86)
 static boolean rtasm_sse_enabled(void)
 {
    static boolean firsttime = 1;
@@ -43,6 +44,7 @@ static boolean rtasm_sse_enabled(void)
    }
    return enabled;
 }
+#endif
 
 int rtasm_cpu_has_sse(void)
 {