diff options
author | Yonggang Luo <luoyonggang@gmail.com> | 2023-02-12 00:15:19 +0800 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2023-06-20 00:05:48 +0000 |
commit | 66a99f619fe1a24f9ff6797d56d417fbf23cb0ef (patch) | |
tree | 07c4d18f9a7836209b60d651fa5e4d48320374ff /meson.build | |
parent | 785ca1332319219828c4d76d032f31345c41e48c (diff) |
c11: Improve timespec_get to support TIME_MONOTONIC TIME_ACTIVE TIME_THREAD_ACTIVE TIME_MONOTONIC_RAW
As c11 already provided timespec_get, to avoid symbol conflict, use c23_timespec_get as the function name
and define timespec_get c23_timespec_get to achieve that
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Acked-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23733>
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/meson.build b/meson.build index ad5070eac7e..5238d6f0640 100644 --- a/meson.build +++ b/meson.build @@ -1282,7 +1282,6 @@ endforeach functions_to_detect = { 'strtof': '', 'mkostemp': '', - 'timespec_get': '#include <time.h>', 'memfd_create': '', 'random_r': '', 'flock': '', |