Skip to content

Commit

Permalink
Fix typo in AO_HAVE_compare_and_swap_double name in atomic_ops_stack.h
Browse files Browse the repository at this point in the history
(a cherry-pick of commit d3e6400 from 'release-7_6')

* src/atomic_ops_stack.h [!AO_HAVE_compare_double_and_swap_double]:
Check AO_HAVE_compare_and_swap_double macro instead of mistyped
AO_HAVE_compare_double_and_swap one.
  • Loading branch information
ivmai committed Dec 15, 2023
1 parent 8c72d7e commit 14e1860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/atomic_ops_stack.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include "atomic_ops.h"

#if !defined(AO_HAVE_compare_double_and_swap_double) \
&& !defined(AO_HAVE_compare_double_and_swap) \
&& !defined(AO_HAVE_compare_and_swap_double) \
&& defined(AO_HAVE_compare_and_swap)
# define AO_USE_ALMOST_LOCK_FREE
#else
Expand Down

0 comments on commit 14e1860

Please sign in to comment.