projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rtasm: Cygwin uses the msabi calling convention on x86_64
[mesa.git]
/
src
/
gallium
/
auxiliary
/
rtasm
/
rtasm_x86sse.h
diff --git
a/src/gallium/auxiliary/rtasm/rtasm_x86sse.h
b/src/gallium/auxiliary/rtasm/rtasm_x86sse.h
index 67c9bdd99322c017472e8f6849492791f3eb0227..498ca824cd1e9181dad54c139c40042b0e44d9b5 100644
(file)
--- 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(_WIN
64)
+#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;