asyncsafe-spin: Use GCC built-ins also on clang.
commitd4ce9ee2e0eb60490b07abec8ab7af926c783982
authorBruno Haible <bruno@clisp.org>
Tue, 11 Aug 2020 17:11:41 +0000 (11 19:11 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 11 Aug 2020 17:11:41 +0000 (11 19:11 +0200)
tree86d6137c0a5e9e94408cfbb3b8db74483c35db4c
parent10096fc9559e8bd6128cd1d18624f9f3890609cf
asyncsafe-spin: Use GCC built-ins also on clang.

* lib/asyncsafe-spin.c (asyncsafe_spin_init, do_lock, do_unlock): Use
the newer GCC built-ins also on clang.
ChangeLog
lib/asyncsafe-spin.c