Cygwin also uses the msabi calling convention on x86_64, not the sysvabi calling convention
Signed-off-by: Jon TURNEY <jon.tur...@dronecode.org.uk> --- src/gallium/auxiliary/rtasm/rtasm_x86sse.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/rtasm/rtasm_x86sse.h b/src/gallium/auxiliary/rtasm/rtasm_x86sse.h index 67c9bdd..498ca82 100644 --- a/src/gallium/auxiliary/rtasm/rtasm_x86sse.h +++ b/src/gallium/auxiliary/rtasm/rtasm_x86sse.h @@ -140,7 +140,7 @@ static INLINE enum x86_target x86_target( struct x86_function* p ) { #ifdef PIPE_ARCH_X86 return X86_32; -#elif defined(_WIN64) +#elif (defined(PIPE_OS_CYGWIN) || defined(PIPE_OS_WINDOWS)) && defined(PIPE_ARCH_X86_64) return X86_64_WIN64_ABI; #elif defined(PIPE_ARCH_X86_64) return X86_64_STD_ABI; -- 1.8.3.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev