Alexandre Julliard : libport: Always include the interlocked_cmpxchg128 fallback.

Alexandre Julliard julliard at winehq.org
Thu Jan 17 14:48:49 CST 2013


Module: wine
Branch: master
Commit: 3a4281708ad05d1bab8752f2c79640e160778cfb
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3a4281708ad05d1bab8752f2c79640e160778cfb

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Jan 17 12:21:14 2013 +0100

libport: Always include the interlocked_cmpxchg128 fallback.

---

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

diff --git a/libs/port/interlocked.c b/libs/port/interlocked.c
index 135bfc1..576714a 100644
--- a/libs/port/interlocked.c
+++ b/libs/port/interlocked.c
@@ -343,7 +343,6 @@ int interlocked_xchg_add( int *dest, int incr )
     return retv;
 }
 
-#ifdef _WIN64
 int interlocked_cmpxchg128( __int64 *dest, __int64 xchg_high, __int64 xchg_low, __int64 *compare )
 {
     int retv;
@@ -363,6 +362,5 @@ int interlocked_cmpxchg128( __int64 *dest, __int64 xchg_high, __int64 xchg_low,
     pthread_mutex_unlock( &interlocked_mutex );
     return retv;
 }
-#endif
 
 #endif




More information about the wine-cvs mailing list