OSDN Git Service

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 03bdd47..2e15751 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)
 {