c11: #include <threads.h> when the os/platform provide it
authorYonggang Luo <luoyonggang@gmail.com>
Sat, 13 Aug 2022 04:29:29 +0000 (12:29 +0800)
committerMarge Bot <emma+marge@anholt.net>
Thu, 18 Aug 2022 01:02:07 +0000 (01:02 +0000)
commitf97ba1f95d5f5cb3ab1cd0aa22e383e9d77aabde
tree35e4b6cde50a1cf83aaa544984dc2147f25ce1ea
parentf228c26520dcfdc2d600ba78c51796ef2a4a31fd
c11: #include <threads.h> when the os/platform provide it

Closes #6964

CC: mesa-stable
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18043>
meson.build
src/c11/impl/meson.build
src/c11/threads.h