[PATCH] libs/port: Use the gcc interlocked code also for pcc

Detlef Riekenberg wine.dev at web.de
Tue Aug 25 05:37:43 CDT 2009


---
 libs/port/interlocked.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libs/port/interlocked.c b/libs/port/interlocked.c
index cefbb5e..dd996e1 100644
--- a/libs/port/interlocked.c
+++ b/libs/port/interlocked.c
@@ -24,7 +24,7 @@
 
 #ifdef __i386__
 
-#ifdef __GNUC__
+#if defined(__GNUC__) || defined(__PCC__)
 
 __ASM_GLOBAL_FUNC(interlocked_cmpxchg,
                   "movl 12(%esp),%eax\n\t"
-- 
1.5.4.3


--=-GObYVSZF3smURAvMussU--




More information about the wine-patches mailing list