check for __i386__ or __386__ instead of USE_X86_ASM
authorBrian <brian.paul@tungstengraphics.com>
Tue, 6 Nov 2007 15:53:25 +0000 (08:53 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Tue, 6 Nov 2007 15:53:25 +0000 (08:53 -0700)
src/mesa/pipe/tgsi/exec/tgsi_sse2.c

index a5c6e1a33ac8afb6daf065fab95a170087ca53b6..3a5c1da1800365dd67e3b848c1e57fea67c25509 100755 (executable)
@@ -29,7 +29,7 @@
 #include "tgsi_core.h"
 #include "x86/rtasm/x86sse.h"
 
-#ifdef USE_X86_ASM
+#if defined(__i386__) || defined(__386__)
 
 #define DUMP_SSE  0
 
@@ -2328,4 +2328,4 @@ tgsi_emit_sse2_fs(
    return 1;
 }
 
-#endif /* USE_X86_ASM */
+#endif /* i386 */