mirror of https://gitlab.freedesktop.org/mesa/mesa
399dc71a30
The macro guard of #if defined(_WIN32) && !defined(__CYGWIN__) is comes from yohhoy's implementation and that's not consistence with util/u_uthread.h, this caused it's hard to understand. Now we change the behavior that's always rely on how meson detecting HAVE_PTHREAD. So we always disable detecting of threads on Win32 as it's always included in the kernel32 library to avoid detecting pthreads in mingw. 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/18425> |
||
---|---|---|
.. | ||
.editorconfig | ||
meson.build | ||
threads_posix.c | ||
threads_win32.c | ||
threads_win32.h | ||
threads_win32_tls_callback.cpp | ||
time.c |