]> git.cworth.org Git - apitrace/blobdiff - wrappers/gltrace_state.cpp
os: Fallback to OS TLS when compiler does not support it (issue #120).
[apitrace] / wrappers / gltrace_state.cpp
index 031b5cceb431155a480eebc1d0dd2dd84fde7a8c..60eada60d49e4014def29e518526ba79a9cfe994 100644 (file)
@@ -57,7 +57,7 @@ public:
     }
 };
 
-static thread_specific ThreadState *thread_state;
+static OS_THREAD_SPECIFIC_PTR(ThreadState) thread_state;
 
 static ThreadState *get_ts(void)
 {