From b1869fa724256f0a99d5c2819124708eb093ab37 Mon Sep 17 00:00:00 2001 From: rpj Date: Sun, 2 Jan 2005 13:54:37 +0000 Subject: '' --- ptw32_InterlockedCompareExchange.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ptw32_InterlockedCompareExchange.c') diff --git a/ptw32_InterlockedCompareExchange.c b/ptw32_InterlockedCompareExchange.c index 8d2cd85..581d19d 100644 --- a/ptw32_InterlockedCompareExchange.c +++ b/ptw32_InterlockedCompareExchange.c @@ -73,7 +73,7 @@ ptw32_InterlockedCompareExchange (PTW32_INTERLOCKED_LPLONG location, #if defined(_M_IX86) || defined(_X86_) -#if defined(_MSC_VER) || defined(__WATCOMC__) || defined(X__BORLANDC__) +#if defined(_MSC_VER) || defined(__WATCOMC__) || (defined(__BORLANDC__) && defined(HAVE_TASM32)) #define HAVE_INLINABLE_INTERLOCKED_CMPXCHG { @@ -184,7 +184,7 @@ ptw32_InterlockedExchange (LPLONG location, #if defined(_M_IX86) || defined(_X86_) -#if defined(_MSC_VER) || defined(__WATCOMC__) || defined(X__BORLANDC__) +#if defined(_MSC_VER) || defined(__WATCOMC__) || (defined(__BORLANDC__) && defined(HAVE_TASM32)) #define HAVE_INLINABLE_INTERLOCKED_XCHG { -- cgit v1.2.3