diff options
-rw-r--r-- | src/mapi/u_current.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapi/u_current.c b/src/mapi/u_current.c index afa887e0692..eb77cc7772f 100644 --- a/src/mapi/u_current.c +++ b/src/mapi/u_current.c @@ -125,7 +125,7 @@ static int ThreadSafe; void u_current_destroy(void) { -#if defined(THREADS) && defined(_WIN32) +#if defined(THREADS) && !defined(GLX_USE_TLS) u_tsd_destroy(&u_current_table_tsd); u_tsd_destroy(&u_current_context_tsd); #endif |