summaryrefslogtreecommitdiff
path: root/wrappers
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2017-03-20 12:50:52 +0000
committerJose Fonseca <jfonseca@vmware.com>2017-03-20 12:50:52 +0000
commit16b76a287134a08d9db3e57ceb9e772e367a2b86 (patch)
treead03258133cf039c61106ddf7696ec0acf1e7f5d /wrappers
parent977990ef90d3a79c2215295b3c75a2ecf777a17b (diff)
Remove Windows XP support.
I'm not aware of people using it, so I believe it's not worth the hassle as I'm trying to cut maintenance burden down.
Diffstat (limited to 'wrappers')
-rw-r--r--wrappers/gltrace_state.cpp2
-rw-r--r--wrappers/wgltrace.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/wrappers/gltrace_state.cpp b/wrappers/gltrace_state.cpp
index 8848d21c..85fadfe3 100644
--- a/wrappers/gltrace_state.cpp
+++ b/wrappers/gltrace_state.cpp
@@ -54,7 +54,7 @@ public:
}
};
-static OS_THREAD_SPECIFIC_PTR(ThreadState) thread_state;
+static OS_THREAD_LOCAL ThreadState *thread_state;
static ThreadState *get_ts(void)
{
diff --git a/wrappers/wgltrace.py b/wrappers/wgltrace.py
index 5a2974c2..ef23b1d6 100644
--- a/wrappers/wgltrace.py
+++ b/wrappers/wgltrace.py
@@ -266,7 +266,7 @@ if __name__ == '__main__':
print '#include "glproc.hpp"'
print '#include "glsize.hpp"'
print
- print 'static OS_THREAD_SPECIFIC(uintptr_t) _reentrant;'
+ print 'static OS_THREAD_LOCAL uintptr_t _reentrant;'
print
print '// Helper class to track reentries in function scope.'
print 'struct ReentryScope {'