]> granicus.if.org Git - libatomic_ops/commit
Do not expose AO_GCC_FORCE_HAVE_CAS macro to client code
authorIvan Maidanski <ivmai@mail.ru>
Tue, 5 Dec 2017 21:28:33 +0000 (00:28 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 5 Dec 2017 21:28:33 +0000 (00:28 +0300)
commit058faf6168b980274c1a1681c6666fe61263170c
tree88c99c683c7d601c679b1628e761c0a3e46bc756
parente6ac4a517c2ef8d799119c1a775fda28357b4fbc
Do not expose AO_GCC_FORCE_HAVE_CAS macro to client code
(code refactoring)

* src/atomic_ops/sysdeps/gcc/aarch64.h (AO_GCC_FORCE_HAVE_CAS,
AO_GCC_HAVE_double_SYNC_CAS): Undefine at the end of file.
* src/atomic_ops/sysdeps/gcc/hexagon.h (AO_GCC_FORCE_HAVE_CAS,
AO_GCC_HAVE_double_SYNC_CAS): Likewise.
* src/atomic_ops/sysdeps/gcc/mips.h (AO_GCC_FORCE_HAVE_CAS): Likewise.
* src/atomic_ops/sysdeps/gcc/x86.h (AO_GCC_FORCE_HAVE_CAS): Likewise.
src/atomic_ops/sysdeps/gcc/aarch64.h
src/atomic_ops/sysdeps/gcc/hexagon.h
src/atomic_ops/sysdeps/gcc/mips.h
src/atomic_ops/sysdeps/gcc/x86.h