apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r555695 - /apr/apr/trunk/atomic/win32/apr_atomic.c
Date Thu, 12 Jul 2007 16:52:26 GMT
Author: davi
Date: Thu Jul 12 09:52:25 2007
New Revision: 555695

URL: http://svn.apache.org/viewvc?view=rev&rev=555695
Log:
Fix win32 stub for apr_atomic_xchgptr.

Modified:
    apr/apr/trunk/atomic/win32/apr_atomic.c

Modified: apr/apr/trunk/atomic/win32/apr_atomic.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/atomic/win32/apr_atomic.c?view=diff&rev=555695&r1=555694&r2=555695
==============================================================================
--- apr/apr/trunk/atomic/win32/apr_atomic.c (original)
+++ apr/apr/trunk/atomic/win32/apr_atomic.c Thu Jul 12 09:52:25 2007
@@ -145,6 +145,6 @@
     return InterlockedExchangePointer((void**)mem, with);
 #else
     /* Too many VC6 users have stale win32 API files, stub this */
-    return ((apr_atomic_win32_ptr_ptr_fn)InterlockedExchangePointer)(mem, with);
+    return ((apr_atomic_win32_ptr_ptr_fn)InterlockedExchange)(mem, with);
 #endif
 }



Mime
View raw message