diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_atomic_include.template | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_atomic_include.template b/tests/test_atomic_include.template index 0d09e75..8a4dda9 100644 --- a/tests/test_atomic_include.template +++ b/tests/test_atomic_include.template @@ -25,7 +25,8 @@ void test_atomicXX(void) # if defined(AO_HAVE_test_and_setXX) AO_TS_t z = AO_TS_INITIALIZER; # endif -# if defined(AO_HAVE_double_t) +# if defined(AO_HAVE_compare_and_swap_doubleXX) \ + || defined(AO_HAVE_compare_double_and_swap_doubleXX) AO_double_t w; w.AO_val1 = 0; w.AO_val2 = 0; |
