From: Jon TURNEY Date: Thu, 3 Oct 2013 20:11:52 +0000 (+0100) Subject: rtasm: Cygwin uses the msabi calling convention on x86_64 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=72a0f832ecce3d7442964421d9887c518a82cab7;p=mesa.git rtasm: Cygwin uses the msabi calling convention on x86_64 Cygwin also uses the msabi calling convention on x86_64, not the sysvabi calling convention Signed-off-by: Jon TURNEY Reviewed-by: Brian Paul ignored, and an empty message aborts the commit. --- diff --git a/src/gallium/auxiliary/rtasm/rtasm_x86sse.h b/src/gallium/auxiliary/rtasm/rtasm_x86sse.h index 67c9bdd9932..498ca824cd1 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;