summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-11-06 08:53:25 -0700
committerBrian <brian.paul@tungstengraphics.com>2007-11-06 08:53:25 -0700
commit24ac9c30ebfd2edabdd21bfc9cf4e9db21cd10df (patch)
tree081a79c247fcf350ce216765bbbe2d65355395d6
parenta06dcfd75b1591bc1db568798f82be721dcc807e (diff)
check for __i386__ or __386__ instead of USE_X86_ASM
-rwxr-xr-xsrc/mesa/pipe/tgsi/exec/tgsi_sse2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/pipe/tgsi/exec/tgsi_sse2.c b/src/mesa/pipe/tgsi/exec/tgsi_sse2.c
index a5c6e1a33a..3a5c1da180 100755
--- a/src/mesa/pipe/tgsi/exec/tgsi_sse2.c
+++ b/src/mesa/pipe/tgsi/exec/tgsi_sse2.c
@@ -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 */