summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/translate/translate.c
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-05-28 16:12:14 +0900
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-05-28 16:13:24 +0900
commit55d29a8d48663982a1aeea414f69a5896b97d1ea (patch)
treebaac13009d92054ba1d597e9da81dc0c3cbc8e65 /src/gallium/auxiliary/translate/translate.c
parent96a40345bb3b7c87d9742d0b5683355f42596823 (diff)
gallium: Windows CE portability fixes.
Diffstat (limited to 'src/gallium/auxiliary/translate/translate.c')
-rw-r--r--src/gallium/auxiliary/translate/translate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/translate/translate.c b/src/gallium/auxiliary/translate/translate.c
index b04bc6eefd..b93fbf9033 100644
--- a/src/gallium/auxiliary/translate/translate.c
+++ b/src/gallium/auxiliary/translate/translate.c
@@ -30,6 +30,7 @@
* Keith Whitwell <keith@tungstengraphics.com>
*/
+#include "pipe/p_config.h"
#include "pipe/p_util.h"
#include "pipe/p_state.h"
#include "translate.h"
@@ -38,7 +39,7 @@ struct translate *translate_create( const struct translate_key *key )
{
struct translate *translate = NULL;
-#if defined(__i386__) || defined(__386__) || defined(i386)
+#if defined(PIPE_ARCH_X86)
translate = translate_sse2_create( key );
if (translate)
return translate;