mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 10:31:54 +01:00
branches/zip:
Remove unnecessary macro.
This commit is contained in:
parent
b31926f419
commit
824f2231f2
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue