diff --git a/compiler-include/stdatomic.h b/compiler-include/stdatomic.h index e03798766..6e08d0e84 100644 --- a/compiler-include/stdatomic.h +++ b/compiler-include/stdatomic.h @@ -27,8 +27,8 @@ /* If we're hosted, fall back to the system's stdatomic.h. FreeBSD, for * example, already has a Clang-compatible stdatomic.h header. */ -#if __STDC_HOSTED__ && __has_include_next() -# include_next +#ifdef __STDC_NO_ATOMICS__ + #else #include diff --git a/src/external/libpthread b/src/external/libpthread index e6dded6c6..8bef25f80 160000 --- a/src/external/libpthread +++ b/src/external/libpthread @@ -1 +1 @@ -Subproject commit e6dded6c6e9bb466494bb741a4b5c68d7c943af9 +Subproject commit 8bef25f80ce588fcdbc9a942aa262f6ea6cd6b43