From: Ivan Maidanski Date: Tue, 2 Oct 2012 07:12:24 +0000 (+0400) Subject: Fix compare_double_and_swap_double_full definition condition in emul_cas X-Git-Tag: libatomic_ops-7_4_0~111 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7c7a2c674227a12f2ae5928325568a087e67c49d;p=platform%2Fupstream%2Flibatomic_ops.git 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. --- 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, \