diff options
author | rpj <rpj> | 2007-01-05 01:19:56 +0000 |
---|---|---|
committer | rpj <rpj> | 2007-01-05 01:19:56 +0000 |
commit | eeef426b8399ad39dfc759352a6e7b0348a047d1 (patch) | |
tree | 09565a10b3132311847c8fb4575313f9d645d476 /pthread_win32_attach_detach_np.c | |
parent | a7ed60cf396fcb8b0670e097dda24b1b0ec2e904 (diff) |
Added more Win64 support
Diffstat (limited to 'pthread_win32_attach_detach_np.c')
-rw-r--r-- | pthread_win32_attach_detach_np.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pthread_win32_attach_detach_np.c b/pthread_win32_attach_detach_np.c index 2f0bc37..7911fe1 100644 --- a/pthread_win32_attach_detach_np.c +++ b/pthread_win32_attach_detach_np.c @@ -91,6 +91,15 @@ pthread_win32_process_attach_np () #endif +#ifdef _WIN64 + +/* + * InterlockedCompareExchange routine in WIN64 is an intrinsic function. + * See PTW32_INTERLOCKED_COMPARE_EXCHANGE implement.h + */ + +#else + #ifdef WINCE /* @@ -144,6 +153,8 @@ pthread_win32_process_attach_np () ptw32_features |= PTW32_SYSTEM_INTERLOCKED_COMPARE_EXCHANGE; } +#endif + /* * Load QUSEREX.DLL and try to get address of QueueUserAPCEx */ |