summaryrefslogtreecommitdiff
path: root/ptw32_InterlockedCompareExchange.c
diff options
context:
space:
mode:
authorrpj <rpj>2005-01-02 13:54:37 +0000
committerrpj <rpj>2005-01-02 13:54:37 +0000
commitb1869fa724256f0a99d5c2819124708eb093ab37 (patch)
tree53e8d8734edd26f6995e0e421ace18075de65b78 /ptw32_InterlockedCompareExchange.c
parent80b7258cb239fe3c930f6e30abf8a99d1e16ccaa (diff)
''
Diffstat (limited to 'ptw32_InterlockedCompareExchange.c')
-rw-r--r--ptw32_InterlockedCompareExchange.c4
1 files changed, 2 insertions, 2 deletions
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
{