Skip to content

Commit 05b99ab

Browse files
committed
Fix typo in AO_HAVE_compare_and_swap_double name in atomic_ops_stack.h
(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.
1 parent 33dba28 commit 05b99ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/atomic_ops_stack.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
#include "atomic_ops.h"
3333

3434
#if !defined(AO_HAVE_compare_double_and_swap_double) \
35-
&& !defined(AO_HAVE_compare_double_and_swap) \
35+
&& !defined(AO_HAVE_compare_and_swap_double) \
3636
&& defined(AO_HAVE_compare_and_swap)
3737
# define AO_USE_ALMOST_LOCK_FREE
3838
#else

0 commit comments

Comments
 (0)