summaryrefslogtreecommitdiff
path: root/wrappers
diff options
context:
space:
mode:
authorJosé Fonseca <jose.r.fonseca@gmail.com>2013-04-23 09:46:26 +0100
committerJosé Fonseca <jfonseca@vmware.com>2013-04-23 14:05:59 +0100
commit2ea1b5c3dd7494965738b4515f2e80b08b8abffa (patch)
tree39c2432c19933da698ef730d1d1e8366c490aded /wrappers
parentfbc23dc3c4699b1bbf17cc3c987e4c85857a3614 (diff)
os: Fallback to OS TLS when compiler does not support it (issue #120).
Diffstat (limited to 'wrappers')
-rw-r--r--wrappers/gltrace_state.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/wrappers/gltrace_state.cpp b/wrappers/gltrace_state.cpp
index 031b5cce..60eada60 100644
--- a/wrappers/gltrace_state.cpp
+++ b/wrappers/gltrace_state.cpp
@@ -57,7 +57,7 @@ public:
}
};
-static thread_specific ThreadState *thread_state;
+static OS_THREAD_SPECIFIC_PTR(ThreadState) thread_state;
static ThreadState *get_ts(void)
{