diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2018-12-06 00:51:51 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2018-12-06 00:51:51 +0300 |
commit | 27e8763d488e527c6a785239dd42192a9fcab71c (patch) | |
tree | 6bf065dc8c7bcafe0d58c80dfd1aa710fe2df57c /src | |
parent | 29b71bdee43aa9894be3fc9e7c2b1d8622891783 (diff) | |
download | libatomic_ops-27e8763d488e527c6a785239dd42192a9fcab71c.tar.gz |
Undefine AO_ARM_HAVE_* private macros after their usage
(fix of commit 9b7cecba)
* src/atomic_ops/sysdeps/gcc/arm.h (AO_ARM_HAVE_DMB, AO_ARM_HAVE_LDREX,
AO_ARM_HAVE_LDREXBH, AO_ARM_HAVE_LDREXD, AO_ARM_HAVE_SWP): Undefine at
the end of the file.
Diffstat (limited to 'src')
-rw-r--r-- | src/atomic_ops/sysdeps/gcc/arm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/atomic_ops/sysdeps/gcc/arm.h b/src/atomic_ops/sysdeps/gcc/arm.h index b99a1ca..2ae7658 100644 --- a/src/atomic_ops/sysdeps/gcc/arm.h +++ b/src/atomic_ops/sysdeps/gcc/arm.h @@ -719,6 +719,11 @@ AO_fetch_compare_and_swap(volatile AO_t *addr, AO_t old_val, AO_t new_val) #endif /* AO_GCC_ATOMIC_TEST_AND_SET */ +#undef AO_ARM_HAVE_DMB +#undef AO_ARM_HAVE_LDREX +#undef AO_ARM_HAVE_LDREXBH +#undef AO_ARM_HAVE_LDREXD +#undef AO_ARM_HAVE_SWP #undef AO_BR_ALIGN #undef AO_MASK_PTR #undef AO_SKIPATOMIC_ANY_and_ANY |