From 76e11899e1439b298883721907b49bd1813f5d0c Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Fri, 25 Aug 2023 10:05:52 +0300 Subject: WNT -> _WIN32 Change-Id: I09b1744c568b39c5b4160154536730962feb3a8c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156089 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- include/osl/interlck.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/osl') diff --git a/include/osl/interlck.h b/include/osl/interlck.h index 6264c595d0b2..f0a39e52c74e 100644 --- a/include/osl/interlck.h +++ b/include/osl/interlck.h @@ -70,7 +70,7 @@ SAL_DLLPUBLIC oslInterlockedCount SAL_CALL osl_decrementInterlockedCount(oslInte */ #if HAVE_GCC_BUILTIN_ATOMIC # define osl_atomic_increment(p) __sync_add_and_fetch((p), 1) -#elif defined WNT +#elif defined _WIN32 # define osl_atomic_increment(p) _InterlockedIncrement(p) #else # define osl_atomic_increment(p) osl_incrementInterlockedCount((p)) @@ -89,7 +89,7 @@ SAL_DLLPUBLIC oslInterlockedCount SAL_CALL osl_decrementInterlockedCount(oslInte */ #if HAVE_GCC_BUILTIN_ATOMIC # define osl_atomic_decrement(p) __sync_sub_and_fetch((p), 1) -#elif defined WNT +#elif defined _WIN32 # define osl_atomic_decrement(p) _InterlockedDecrement(p) #else # define osl_atomic_decrement(p) osl_decrementInterlockedCount((p)) -- cgit