2
0
mirror of https://github.com/boostorg/winapi.git synced 2026-02-24 16:42:09 +00:00

Added BOOST_INTERLOCKED_EXCHANGE_POINTER in all branches of the #if

[SVN r31012]
This commit is contained in:
Anthony Williams
2005-09-16 14:05:33 +00:00
committed by Andrey Semashev
parent aa210beab8
commit 1d16486f4e

View File

@@ -82,6 +82,8 @@ extern "C" __declspec(dllimport) long __stdcall InterlockedExchange( long volati
# define BOOST_INTERLOCKED_EXCHANGE ::boost::detail::InterlockedExchange
# define BOOST_INTERLOCKED_COMPARE_EXCHANGE_POINTER(dest,exchange,compare) \
((void*)BOOST_INTERLOCKED_COMPARE_EXCHANGE((long volatile*)(dest),(long)(exchange),(long)(compare)))
# define BOOST_INTERLOCKED_EXCHANGE_POINTER(dest,exchange) \
((void*)BOOST_INTERLOCKED_EXCHANGE((long volatile*)(dest),(long)(exchange)))
#else