aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2008-04-23 12:38:37 +1000
committerBen Skeggs <[email protected]>2008-04-23 12:38:37 +1000
commit6fc530ccda2971a5d99a955ad90ae9762238040f (patch)
tree7106fb94ef021423dd24fa06c09118abad3cda4d /src
parent72fd5b9c5a78792ad8c1fe7c8713a3583008c50a (diff)
fix non-i386 builds
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/translate/translate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/translate/translate.c b/src/gallium/auxiliary/translate/translate.c
index 86ebeae2a71..b04bc6eefd7 100644
--- a/src/gallium/auxiliary/translate/translate.c
+++ b/src/gallium/auxiliary/translate/translate.c
@@ -38,9 +38,11 @@ struct translate *translate_create( const struct translate_key *key )
{
struct translate *translate = NULL;
+#if defined(__i386__) || defined(__386__) || defined(i386)
translate = translate_sse2_create( key );
if (translate)
return translate;
+#endif
return translate_generic_create( key );
}