mirror of
https://github.com/reactos/reactos.git
synced 2025-05-23 02:56:09 +00:00
- We break your build, you break ours...
svn path=/trunk/; revision=34593
This commit is contained in:
parent
5bcb1c6a0e
commit
71bada1343
1 changed files with 6 additions and 0 deletions
|
@ -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