mesa/src/mapi/glapi
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
..
gen mapi: add api setup header for hw select mode 2022-06-06 18:23:49 +00:00
registry mapi: add GetInteger64vEXT with EXT_disjoint_timer_query 2019-11-26 07:41:24 +02:00
tests mapi/test: Change type to unsigned for offset 2020-08-05 18:08:06 +00:00
glapi.c mesa: Rename GLX_USE_TLS to USE_ELF_TLS. 2019-08-03 20:18:17 +02:00
glapi.h glapi: Never use dllimport/dllexport for TLS vars on Windows 2021-12-13 16:56:06 +00:00
glapi_dispatch.c glapi: fix Warray-parameter 2021-06-10 10:31:55 +00:00
glapi_entrypoint.c glapi: fix unused-function warning 2020-12-01 16:51:01 +00:00
glapi_getproc.c GL: drop symbols mangling support 2019-10-10 21:40:48 +01:00
glapi_nop.c glapi: include generated headers without path 2017-10-27 11:06:07 -07:00
glapi_priv.h mesa: Rename GLX_USE_TLS to USE_ELF_TLS. 2019-08-03 20:18:17 +02:00
meson.build c11: Implement c11/time.h with c11/impl/time.c 2022-06-09 17:23:34 +00:00