[CRT] intrin_x86.h: Fix '_InterlockedIncrement64' copypasta

Addendum to bc3a471.
This commit is contained in:
Serge Gautherie 2021-04-10 04:16:10 +02:00 committed by Stanislav Motylkov
parent c41007624f
commit b6493654a3

View file

@ -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);