From 16b76a287134a08d9db3e57ceb9e772e367a2b86 Mon Sep 17 00:00:00 2001 From: Jose Fonseca Date: Mon, 20 Mar 2017 12:50:52 +0000 Subject: 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. --- wrappers/gltrace_state.cpp | 2 +- wrappers/wgltrace.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'wrappers') 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 {' -- cgit v1.2.3