summaryrefslogtreecommitdiff
path: root/implement.h
diff options
context:
space:
mode:
authorrpj <rpj>2007-01-05 01:19:56 +0000
committerrpj <rpj>2007-01-05 01:19:56 +0000
commiteeef426b8399ad39dfc759352a6e7b0348a047d1 (patch)
tree09565a10b3132311847c8fb4575313f9d645d476 /implement.h
parenta7ed60cf396fcb8b0670e097dda24b1b0ec2e904 (diff)
Added more Win64 support
Diffstat (limited to 'implement.h')
-rw-r--r--implement.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/implement.h b/implement.h
index 3d96483..82a7a8f 100644
--- a/implement.h
+++ b/implement.h
@@ -667,8 +667,12 @@ extern "C"
* See ptw32_InterlockedCompareExchange.c
*/
#ifndef PTW32_INTERLOCKED_COMPARE_EXCHANGE
+#ifdef _WIN64
+#define PTW32_INTERLOCKED_COMPARE_EXCHANGE _InterlockedCompareExchange
+#else
#define PTW32_INTERLOCKED_COMPARE_EXCHANGE ptw32_interlocked_compare_exchange
#endif
+#endif
#ifndef PTW32_INTERLOCKED_EXCHANGE
#define PTW32_INTERLOCKED_EXCHANGE InterlockedExchange