diff options
Diffstat (limited to 'src/atomic_ops.h')
-rw-r--r-- | src/atomic_ops.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/atomic_ops.h b/src/atomic_ops.h index f5b8145..277e7a3 100644 --- a/src/atomic_ops.h +++ b/src/atomic_ops.h @@ -371,8 +371,8 @@ && !defined(AO_HAVE_fetch_compare_and_swap_acquire) # if defined(AO_CAN_EMUL_CAS) # include "atomic_ops/sysdeps/emul_cas.h" -# else -# error Cannot implement AO_compare_and_swap_full on this architecture. +# elif !defined(CPPCHECK) +# error Cannot implement AO_compare_and_swap_full on this architecture. # endif #endif /* AO_REQUIRE_CAS && !AO_HAVE_compare_and_swap ... */ |