diff options
author | José Fonseca <[email protected]> | 2008-05-28 16:12:14 +0900 |
---|---|---|
committer | José Fonseca <[email protected]> | 2008-05-28 16:13:24 +0900 |
commit | 55d29a8d48663982a1aeea414f69a5896b97d1ea (patch) | |
tree | baac13009d92054ba1d597e9da81dc0c3cbc8e65 /src/gallium/auxiliary/translate/translate_sse.c | |
parent | 96a40345bb3b7c87d9742d0b5683355f42596823 (diff) |
gallium: Windows CE portability fixes.
Diffstat (limited to 'src/gallium/auxiliary/translate/translate_sse.c')
-rw-r--r-- | src/gallium/auxiliary/translate/translate_sse.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/translate/translate_sse.c b/src/gallium/auxiliary/translate/translate_sse.c index a54ac5a82ff..634b05b8a92 100644 --- a/src/gallium/auxiliary/translate/translate_sse.c +++ b/src/gallium/auxiliary/translate/translate_sse.c @@ -26,6 +26,7 @@ */ +#include "pipe/p_config.h" #include "pipe/p_compiler.h" #include "pipe/p_util.h" #include "util/u_simple_list.h" @@ -33,7 +34,7 @@ #include "translate.h" -#if defined(__i386__) || defined(__386__) || defined(i386) +#if defined(PIPE_ARCH_X86) #include "rtasm/rtasm_cpu.h" #include "rtasm/rtasm_x86sse.h" @@ -617,7 +618,7 @@ struct translate *translate_sse2_create( const struct translate_key *key ) #else -void translate_create_sse( const struct translate_key *key ) +struct translate *translate_sse2_create( const struct translate_key *key ) { return NULL; } |