From 9ec8f8bb227b528405e9e86f30c9ec08580c72c5 Mon Sep 17 00:00:00 2001 From: Davi Arnaut Date: Thu, 12 Jul 2007 16:52:25 +0000 Subject: 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 --- atomic/win32/apr_atomic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'atomic') 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 } -- cgit v1.2.1