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>
Fri, 22 Dec 2017 07:43:08 +0000 (10:43 +0300)
commit5ace35641c00249fb2759a47211f1ea6b7525f92
treea483c9b25ecfbdfc1ffd6568f9353b9f035562bf
parent40cce5ab66471c693ce7b7d0ad141a5cbe81870c
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