#if !defined(AO_ATOMIC_OPS_H) || defined(AO_ATOMIC_OPS_INCLUDED)
# error This file should not be included directly.
#endif
#ifndef AO_HAVE_double_t
# include "standard_ao_double_t.h"
#endif
#ifdef __cplusplus
extern "C" {
#endif
AO_API AO_t AO_fetch_compare_and_swap_emulation(volatile AO_t *addr,
AO_t old_val, AO_t new_val);
AO_API int
AO_compare_double_and_swap_double_emulation(volatile AO_double_t *addr,
AO_t old_val1, AO_t old_val2,
AO_t new_val1, AO_t new_val2);
AO_API void AO_store_full_emulation(volatile AO_t *addr, AO_t val);
#ifndef AO_HAVE_fetch_compare_and_swap_full
# define AO_fetch_compare_and_swap_full(addr, old, newval) \
AO_fetch_compare_and_swap_emulation(addr, old, newval)
# define AO_HAVE_fetch_compare_and_swap_full
#endif
#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, \
newval1, newval2)
# define AO_HAVE_compare_double_and_swap_double_full
#endif
#undef AO_store
#undef AO_HAVE_store
#undef AO_store_write
#undef AO_HAVE_store_write
#undef AO_store_release
#undef AO_HAVE_store_release
#undef AO_store_full
#undef AO_HAVE_store_full
#define AO_store_full(addr, val) AO_store_full_emulation(addr, val)
#define AO_HAVE_store_full
#ifdef __cplusplus
}
#endif