]> granicus.if.org Git - libatomic_ops/commit
Fix AO_stack build failure on OS X 10.7 because of missing CAS (x86_64)
authorIvan Maidanski <ivmai@mail.ru>
Wed, 28 Dec 2016 20:43:05 +0000 (23:43 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 28 Dec 2016 20:43:05 +0000 (23:43 +0300)
commit7a6a7cc4820107dd768a47eaf20c0ec8fa918d2d
tree7e42ef30d7f116c5cebf815c5e3ca27f2244792c
parent8550ecd0362788b0a8b662cd9f2d4b4bb4a758a6
Fix AO_stack build failure on OS X 10.7 because of missing CAS (x86_64)

Issue #23 (libatomic_ops).

* src/atomic_ops/sysdeps/gcc/x86.h [AO_GCC_ATOMIC_TEST_AND_SET
&& __APPLE_CC__ && __x86_64__] (AO_GCC_FORCE_HAVE_CAS): Define (to
workaround missing __GCC_HAVE_SYNC_COMPARE_AND_SWAP_<n> predefined
macro in Apple clang-425/x86_64); add comment.
src/atomic_ops/sysdeps/gcc/x86.h