util: Remove the guard WIN32_WINNT >= 0x0600 in u_thread.h

We already require Windows Vista or later before this commit;
No need check WIN32_WINNT >= 0x0600

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>
This commit is contained in:
Yonggang Luo
2022-09-06 17:39:28 +08:00
committed by Marge Bot
parent b6e4aa6f31
commit 54beddb5d2

View File

@@ -49,7 +49,7 @@
#if DETECT_OS_LINUX && !defined(ANDROID)
#include <sched.h>
#elif defined(_WIN32) && !defined(__CYGWIN__) && _WIN32_WINNT >= 0x0600
#elif defined(_WIN32) && !defined(__CYGWIN__)
#include <windows.h>
#endif
@@ -93,7 +93,7 @@ util_get_current_cpu(void)
#if DETECT_OS_LINUX && !defined(ANDROID)
return sched_getcpu();
#elif defined(_WIN32) && !defined(__CYGWIN__) && _WIN32_WINNT >= 0x0600
#elif defined(_WIN32) && !defined(__CYGWIN__)
return GetCurrentProcessorNumber();
#else