From: Ben Skeggs Date: Wed, 23 Apr 2008 02:38:37 +0000 (+1000) Subject: fix non-i386 builds X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6fc530ccda2971a5d99a955ad90ae9762238040f;p=mesa.git fix non-i386 builds --- 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 ); }