From 7c7a2c674227a12f2ae5928325568a087e67c49d Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Tue, 2 Oct 2012 11:12:24 +0400 Subject: [PATCH] Fix compare_double_and_swap_double_full definition condition in emul_cas * src/atomic_ops/sysdeps/emul_cas.h (AO_compare_double_and_swap_double_full): Test (define if) AO_HAVE_compare_double_and_swap_double_full macro instead of AO_HAVE_compare_double_and_swap_double. --- src/atomic_ops/sysdeps/emul_cas.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/atomic_ops/sysdeps/emul_cas.h b/src/atomic_ops/sysdeps/emul_cas.h index 6a95845..2a592bc 100644 --- a/src/atomic_ops/sysdeps/emul_cas.h +++ b/src/atomic_ops/sysdeps/emul_cas.h @@ -58,7 +58,7 @@ void AO_store_full_emulation(volatile AO_t *addr, AO_t val); # define AO_HAVE_fetch_compare_and_swap_full #endif -#ifndef AO_HAVE_compare_double_and_swap_double +#ifndef AO_HAVE_compare_double_and_swap_double_full # define AO_compare_double_and_swap_double_full(addr, old1, old2, \ newval1, newval2) \ AO_compare_double_and_swap_double_emulation(addr, old1, old2, \ -- 2.7.4