c11/threads: Remove the detecting code for `HAVE_TIMESPEC_GET` in threads_win32.h
authorYonggang Luo <luoyonggang@gmail.com>
Thu, 24 Mar 2022 19:46:29 +0000 (03:46 +0800)
committerMarge Bot <emma+marge@anholt.net>
Thu, 9 Jun 2022 17:23:33 +0000 (17:23 +0000)
The meson already detecting it properly now, so remove the duplicated detecting code

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15497>

include/c11/threads_win32.h

index 27637d0..13feb82 100644 (file)
@@ -64,11 +64,6 @@ Configuration macro:
 #error EMULATED_THREADS_USE_NATIVE_CALL_ONCE requires _WIN32_WINNT>=0x0600
 #endif
 
-/* Visual Studio 2015 and later */
-#ifdef _MSC_VER
-#define HAVE_TIMESPEC_GET
-#endif
-
 /*---------------------------- macros ----------------------------*/
 #ifdef EMULATED_THREADS_USE_NATIVE_CALL_ONCE
 #define ONCE_FLAG_INIT INIT_ONCE_STATIC_INIT