From: José Fonseca Date: Tue, 6 Sep 2011 19:40:21 +0000 (+0100) Subject: rtasm,translate: Disable on Mingw-w64. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f4dd0991719ef3e2606920c5100b372181c60899;p=mesa.git rtasm,translate: Disable on Mingw-w64. Causes crash and stack corruption. Needs more investigation. Disable for now. --- 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"