use PIPE_ARCH_X86
authorBrian <brian.paul@tungstengraphics.com>
Sat, 26 Apr 2008 00:46:29 +0000 (18:46 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Sat, 26 Apr 2008 00:46:29 +0000 (18:46 -0600)
src/gallium/auxiliary/tgsi/exec/tgsi_sse2.c

index 559370e613aedad059d8aaf28304704fa9cd6e0a..9061e00b6359a663f0384064e9fd44b6af2541bb 100755 (executable)
@@ -34,7 +34,7 @@
 
 #include "rtasm/rtasm_x86sse.h"
 
-#if defined(__i386__) || defined(__386__)
+#ifdef PIPE_ARCH_X86
 
 #define HIGH_PRECISION 1  /* for 1/sqrt() */
 
@@ -2181,4 +2181,4 @@ tgsi_emit_sse2(
    return ok;
 }
 
-#endif /* i386 */
+#endif /* PIPE_ARCH_X86 */