From 9f37c9903b87f86a533bfaffa72f0ecb285b02b2 Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Sat, 3 Aug 2019 18:44:44 +0200 Subject: mesa: Rename GLX_USE_TLS to USE_ELF_TLS. These days it is not GLX only and it does not work with all TLS implementations. Reviewed-by: Eric Engestrom --- src/mapi/mapi_glapi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mapi/mapi_glapi.c') diff --git a/src/mapi/mapi_glapi.c b/src/mapi/mapi_glapi.c index 3a376e81bdd..f25c81a4ae6 100644 --- a/src/mapi/mapi_glapi.c +++ b/src/mapi/mapi_glapi.c @@ -38,11 +38,11 @@ * u_current.c. */ -#ifdef GLX_USE_TLS +#ifdef USE_ELF_TLS /* not used, but defined for compatibility */ const struct _glapi_table *_glapi_Dispatch; const void *_glapi_Context; -#endif /* GLX_USE_TLS */ +#endif /* USE_ELF_TLS */ void _glapi_destroy_multithread(void) -- cgit v1.2.3