mirror of
https://github.com/reactos/reactos.git
synced 2024-07-06 20:55:16 +00:00
- We break your build, you break ours...
svn path=/trunk/; revision=34593
This commit is contained in:
parent
5bcb1c6a0e
commit
71bada1343
|
@ -54,6 +54,12 @@ static __inline__ __attribute__((always_inline)) long _InterlockedCompareExchang
|
|||
return a;
|
||||
}
|
||||
|
||||
static __inline__ __attribute__((always_inline)) void * _InterlockedCompareExchangePointer(void * volatile * const Destination, void * const Exchange, void * const Comperand)
|
||||
{
|
||||
return (void*)_InterlockedCompareExchange((volatile long* const)Destination, (const long)Exchange, (const long)Comperand);
|
||||
}
|
||||
|
||||
|
||||
static __inline__ __attribute__((always_inline)) long _InterlockedExchangeAdd(volatile long * const dest, const long add)
|
||||
{
|
||||
long a, b, c;
|
||||
|
|
Loading…
Reference in a new issue