summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/rtasm/rtasm_x86sse.h
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2013-10-03 21:11:52 +0100
committerJon TURNEY <jon.turney@dronecode.org.uk>2013-10-18 14:16:56 +0100
commit72a0f832ecce3d7442964421d9887c518a82cab7 (patch)
treef8f566fe390b75baf501b70050def52aeaff5e38 /src/gallium/auxiliary/rtasm/rtasm_x86sse.h
parent87e84acbfd5e4b9cf046fa29786b8eaea4442c71 (diff)
downloadexternal_mesa3d-72a0f832ecce3d7442964421d9887c518a82cab7.zip
external_mesa3d-72a0f832ecce3d7442964421d9887c518a82cab7.tar.gz
external_mesa3d-72a0f832ecce3d7442964421d9887c518a82cab7.tar.bz2
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 <jon.turney@dronecode.org.uk> Reviewed-by: Brian Paul <brianp@vmware.com> ignored, and an empty message aborts the commit.
Diffstat (limited to 'src/gallium/auxiliary/rtasm/rtasm_x86sse.h')
-rw-r--r--src/gallium/auxiliary/rtasm/rtasm_x86sse.h2
1 files changed, 1 insertions, 1 deletions
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;