diff options
author | Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> | 2019-08-03 18:44:44 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> | 2019-08-03 20:18:17 +0200 |
commit | 9f37c9903b87f86a533bfaffa72f0ecb285b02b2 (patch) | |
tree | 94192c3b35f90699cf748ad66d0f3b444b286e6c /src/glx/glxcurrent.c | |
parent | d7ca1efc6c814947af5b0a0c75b40673b61c31c4 (diff) | |
download | mesa-9f37c9903b87f86a533bfaffa72f0ecb285b02b2.tar.gz mesa-9f37c9903b87f86a533bfaffa72f0ecb285b02b2.tar.bz2 mesa-9f37c9903b87f86a533bfaffa72f0ecb285b02b2.zip |
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 <eric.engestrom@intel.com>
Diffstat (limited to 'src/glx/glxcurrent.c')
-rw-r--r-- | src/glx/glxcurrent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glx/glxcurrent.c b/src/glx/glxcurrent.c index 2b9c708c3ee..9c5d2af8956 100644 --- a/src/glx/glxcurrent.c +++ b/src/glx/glxcurrent.c @@ -67,7 +67,7 @@ struct glx_context dummyContext = { _X_HIDDEN pthread_mutex_t __glXmutex = PTHREAD_MUTEX_INITIALIZER; -# if defined( GLX_USE_TLS ) +# if defined( USE_ELF_TLS ) /** * Per-thread GLX context pointer. @@ -132,7 +132,7 @@ __glXGetCurrentContext(void) return (v == NULL) ? &dummyContext : (struct glx_context *) v; } -# endif /* defined( GLX_USE_TLS ) */ +# endif /* defined( USE_ELF_TLS ) */ _X_HIDDEN void |