diff options
author | Davi Arnaut <davi@apache.org> | 2007-07-12 16:52:25 +0000 |
---|---|---|
committer | Davi Arnaut <davi@apache.org> | 2007-07-12 16:52:25 +0000 |
commit | 9ec8f8bb227b528405e9e86f30c9ec08580c72c5 (patch) | |
tree | 6c27028cd37c03e8eb6ffc5f64c92b1c042e8018 /atomic | |
parent | a45f3bbb010a8bca5796709c6e30beaf07fb01b8 (diff) | |
download | apr-9ec8f8bb227b528405e9e86f30c9ec08580c72c5.tar.gz |
Fix win32 stub for apr_atomic_xchgptr.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@555695 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'atomic')
-rw-r--r-- | atomic/win32/apr_atomic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/atomic/win32/apr_atomic.c b/atomic/win32/apr_atomic.c index 44e8ca2dd..16e10ec29 100644 --- a/atomic/win32/apr_atomic.c +++ b/atomic/win32/apr_atomic.c @@ -145,6 +145,6 @@ APR_DECLARE(void*) apr_atomic_xchgptr(volatile void **mem, void *with) 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 } |