From 824f2231f2db7b8e9f022ccaa2aa30bf5de20cc9 Mon Sep 17 00:00:00 2001 From: vasil Date: Sat, 12 Sep 2009 11:11:25 +0000 Subject: [PATCH] branches/zip: Remove unnecessary macro. --- include/os0sync.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/os0sync.h b/include/os0sync.h index ba7c8776f7b..317c6d612fd 100644 --- a/include/os0sync.h +++ b/include/os0sync.h @@ -398,10 +398,9 @@ compare to, new_val is the value to swap in. */ # define os_compare_and_swap_lint(ptr, old_val, new_val) \ (win_cmp_and_xchg(ptr, new_val, old_val) == old_val) +/* windows thread objects can always be passed to windows atomic functions */ # define os_compare_and_swap_thread_id(ptr, old_val, new_val) \ (InterlockedCompareExchange(ptr, new_val, old_val) == old_val) -/* windows thread objects can always be passed to windows atomic functions */ -# define HAVE_IB_ATOMIC_PTHREAD_T_WINDOWS /**********************************************************//** Returns the resulting value, ptr is pointer to target, amount is the