Mesa (main): c11/threads: Remove the detecting code for `HAVE_TIMESPEC_GET` in threads_win32.h
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Jun 9 18:00:21 UTC 2022
Module: Mesa
Branch: main
Commit: fe01757ddf067414646032f5fd7ffc5a4d332591
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fe01757ddf067414646032f5fd7ffc5a4d332591
Author: Yonggang Luo <luoyonggang at gmail.com>
Date: Fri Mar 25 03:46:29 2022 +0800
c11/threads: Remove the detecting code for `HAVE_TIMESPEC_GET` in threads_win32.h
The meson already detecting it properly now, so remove the duplicated detecting code
Signed-off-by: Yonggang Luo <luoyonggang at gmail.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15497>
---
include/c11/threads_win32.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/include/c11/threads_win32.h b/include/c11/threads_win32.h
index 27637d089b0..13feb820d07 100644
--- a/include/c11/threads_win32.h
+++ b/include/c11/threads_win32.h
@@ -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
More information about the mesa-commit
mailing list