mesa/src/mapi
Yonggang Luo b2ddec4e98 c11: Implement c11/time.h with c11/impl/time.c
Create c11/time.h instead of put timespec_get in `c11/threads.h`

Creating impl folder is used to avoid `#include <time.h>` point the c11/time.h file

Detecting if `struct timespec` present with meson
Define TIME_UTC in `c11/time.h` instead `c11/threads.h`
Define `struct timespec` in `c11/time.h` when not present.
Implement timespec_get in c11/impl/time.c instead threads.h

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>
2022-06-09 17:23:34 +00:00
..
es1api c11: Implement c11/time.h with c11/impl/time.c 2022-06-09 17:23:34 +00:00
es2api c11: Implement c11/time.h with c11/impl/time.c 2022-06-09 17:23:34 +00:00
glapi c11: Implement c11/time.h with c11/impl/time.c 2022-06-09 17:23:34 +00:00
new
shared-glapi c11: Implement c11/time.h with c11/impl/time.c 2022-06-09 17:23:34 +00:00
entry.c Fix TSD stubs for non-initial-exec case (fixes #5667). 2021-12-08 00:10:29 -05:00
entry.h
entry_ppc64le_tls.h
entry_ppc64le_tsd.h
entry_x86-64_tls.h
entry_x86_tls.h
entry_x86_tsd.h Fix TSD stubs for non-initial-exec case (fixes #5667). 2021-12-08 00:10:29 -05:00
mapi_abi.py
mapi_glapi.c
mapi_tmp.h
meson.build
stub.c
stub.h
table.c
table.h mapi: remove needless c99_compat.h includes 2022-06-02 13:09:16 +00:00
u_current.c
u_current.h mapi: remove needless c99_compat.h includes 2022-06-02 13:09:16 +00:00
u_execmem.c mapi: remove needless c99_compat.h includes 2022-06-02 13:09:16 +00:00
u_execmem.h