summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/apr_atomic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/apr_atomic.h b/include/apr_atomic.h
index b2ab37eee..d1a46ff76 100644
--- a/include/apr_atomic.h
+++ b/include/apr_atomic.h
@@ -165,6 +165,7 @@ typedef LONG apr_atomic_t;
#define apr_atomic_read(mem) (*mem)
#define apr_atomic_cas(mem,with,cmp) InterlockedCompareExchange(mem,with,cmp)
#define apr_atomic_init(pool) APR_SUCCESS
+#define apr_atomic_casptr(mem,with,cmp) InterlockedCompareExchangePointer(mem,with,cmp)
#elif defined(NETWARE)