diff options
author | Brian Paul <[email protected]> | 2015-03-04 19:17:57 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-03-05 06:59:43 -0700 |
commit | 6b5eb7bce6ac5351b0c96252a1c8738f51834e1d (patch) | |
tree | 0d9e92b3cb37db124dbc095734716641304da799 /src/mapi | |
parent | c3f352e8367f03cc416968d780f5dc6a6812a496 (diff) |
mapi: fix preprocessor check in u_current_destroy()
So it matches the preprocessor check around the u_current_init_tsd() code.
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/mapi')
-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 |