summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2011-09-06 20:40:21 +0100
committerJosé Fonseca <[email protected]>2011-09-06 20:40:44 +0100
commitf4dd0991719ef3e2606920c5100b372181c60899 (patch)
treee1586ecfcde7be4e8d3e7f7cf74dbfb9606e73af /src
parent5812b24845a2c56b65e2459c9daf1c4c565710fc (diff)
rtasm,translate: Disable on Mingw-w64.
Causes crash and stack corruption. Needs more investigation. Disable for now.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/rtasm/rtasm_x86sse.c2
-rw-r--r--src/gallium/auxiliary/translate/translate_sse.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/rtasm/rtasm_x86sse.c b/src/gallium/auxiliary/rtasm/rtasm_x86sse.c
index 5231bb08374..cb880825d79 100644
--- a/src/gallium/auxiliary/rtasm/rtasm_x86sse.c
+++ b/src/gallium/auxiliary/rtasm/rtasm_x86sse.c
@@ -24,7 +24,7 @@
#include "pipe/p_config.h"
#include "util/u_cpu_detect.h"
-#if defined(PIPE_ARCH_X86) || defined(PIPE_ARCH_X86_64)
+#if defined(PIPE_ARCH_X86) || (defined(PIPE_ARCH_X86_64) && !defined(__MINGW32__))
#include "pipe/p_compiler.h"
#include "util/u_debug.h"
diff --git a/src/gallium/auxiliary/translate/translate_sse.c b/src/gallium/auxiliary/translate/translate_sse.c
index c3d15661f05..8cb3fd6c4c0 100644
--- a/src/gallium/auxiliary/translate/translate_sse.c
+++ b/src/gallium/auxiliary/translate/translate_sse.c
@@ -35,7 +35,7 @@
#include "translate.h"
-#if defined(PIPE_ARCH_X86) || defined(PIPE_ARCH_X86_64)
+#if defined(PIPE_ARCH_X86) || (defined(PIPE_ARCH_X86_64) && !defined(__MINGW32__))
#include "rtasm/rtasm_cpu.h"
#include "rtasm/rtasm_x86sse.h"