translate: check for PIPE_SUBSYSTEM_EMBEDDED
authorBrian Paul <brianp@vmware.com>
Wed, 21 Sep 2011 17:37:49 +0000 (11:37 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 22 Sep 2011 14:26:36 +0000 (08:26 -0600)
src/gallium/auxiliary/translate/translate_sse.c

index 8cb3fd6c4c0b3e4120cc27fbe95e913b8cc014f8..54414ef077fc4784261f47f74c25b4d3f7d08d3f 100644 (file)
@@ -35,7 +35,7 @@
 #include "translate.h"
 
 
-#if defined(PIPE_ARCH_X86) || (defined(PIPE_ARCH_X86_64) && !defined(__MINGW32__))
+#if (defined(PIPE_ARCH_X86) || (defined(PIPE_ARCH_X86_64) && !defined(__MINGW32__))) && !defined(PIPE_SUBSYSTEM_EMBEDDED)
 
 #include "rtasm/rtasm_cpu.h"
 #include "rtasm/rtasm_x86sse.h"