diff options
Diffstat (limited to 'sal/inc/osl/interlck.h')
-rw-r--r-- | sal/inc/osl/interlck.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/inc/osl/interlck.h b/sal/inc/osl/interlck.h index 507b752f1129..31212deed274 100644 --- a/sal/inc/osl/interlck.h +++ b/sal/inc/osl/interlck.h @@ -56,7 +56,7 @@ SAL_DLLPUBLIC oslInterlockedCount SAL_CALL osl_decrementInterlockedCount(oslInte @since LibreOffice 4.0 */ -#if defined( HAVE_GCC_BUILTIN_ATOMIC ) +#if HAVE_GCC_BUILTIN_ATOMIC # define osl_atomic_increment(p) __sync_add_and_fetch((p), 1) #else # define osl_atomic_increment(p) osl_incrementInterlockedCount((p)) @@ -73,7 +73,7 @@ SAL_DLLPUBLIC oslInterlockedCount SAL_CALL osl_decrementInterlockedCount(oslInte @since LibreOffice 4.0 */ -#if defined( HAVE_GCC_BUILTIN_ATOMIC ) +#if HAVE_GCC_BUILTIN_ATOMIC # define osl_atomic_decrement(p) __sync_sub_and_fetch((p), 1) #else # define osl_atomic_decrement(p) osl_decrementInterlockedCount((p)) |