summaryrefslogtreecommitdiff
path: root/include/osl
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2023-08-25 10:05:52 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2023-08-25 11:12:31 +0200
commit76e11899e1439b298883721907b49bd1813f5d0c (patch)
treef68864e43f5cee57feec6a2405858208bac6e821 /include/osl
parentdf982f67ced630fc417540941392459dee8ab7eb (diff)
WNT -> _WIN32
Change-Id: I09b1744c568b39c5b4160154536730962feb3a8c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156089 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include/osl')
-rw-r--r--include/osl/interlck.h4
1 files changed, 2 insertions, 2 deletions
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))