base: use <stdatomic.h> for atomics, where present

C11 introduces a new set of atomic APIs in <stdatomic.h>. If available, use
those in preference to compiler- or platform-specific intrinsics.
This commit is contained in:
Luke Howard
2020-07-13 09:47:02 +10:00
parent 932605c01e
commit cbb2ceb018
2 changed files with 15 additions and 1 deletions

View File

@@ -412,6 +412,7 @@ AC_CHECK_HEADERS([\
signal.h \
strings.h \
stropts.h \
stdatomic.h \
sys/bitypes.h \
sys/category.h \
sys/file.h \