https://git.reactos.org/?p=reactos.git;a=commitdiff;h=b6493654a3b1b6d5d37e0…
commit b6493654a3b1b6d5d37e0ecf80f25851d7ae9930
Author: Serge Gautherie <reactos-git_serge_171003(a)gautherie.fr>
AuthorDate: Sat Apr 10 04:16:10 2021 +0200
Commit: Stanislav Motylkov <x86corez(a)gmail.com>
CommitDate: Tue Apr 27 10:36:54 2021 +0300
[CRT] intrin_x86.h: Fix '_InterlockedIncrement64' copypasta
Addendum to bc3a471.
---
sdk/include/crt/mingw32/intrin_x86.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sdk/include/crt/mingw32/intrin_x86.h b/sdk/include/crt/mingw32/intrin_x86.h
index 2ba1ed1258c..c772338d3fa 100644
--- a/sdk/include/crt/mingw32/intrin_x86.h
+++ b/sdk/include/crt/mingw32/intrin_x86.h
@@ -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);