mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 13:01:40 +00:00
[CRT] intrin_x86.h: Fix '_InterlockedIncrement64' copypasta
Addendum to bc3a471
.
This commit is contained in:
parent
c41007624f
commit
b6493654a3
1 changed files with 1 additions and 1 deletions
|
@ -347,7 +347,7 @@ __INTRIN_INLINE short _InterlockedIncrement16(volatile short * lpAddend)
|
|||
#endif
|
||||
|
||||
#if defined(__x86_64__)
|
||||
#if !HAS_BUILTIN(_InterlockedIncrement64)
|
||||
#if !HAS_BUILTIN(_InterlockedDecrement64)
|
||||
__INTRIN_INLINE long long _InterlockedDecrement64(volatile long long * lpAddend)
|
||||
{
|
||||
return __sync_sub_and_fetch(lpAddend, 1);
|
||||
|
|
Loading…
Reference in a new issue