remove thread.h include, use "thread_local" for everything

we enforce c++ 17, thread_local is a c++11 extension, so this should work everywhere
This commit is contained in:
Alug committed 2025-11-18 22:38:17 +01:00
1 parent fcb2bf97e2
commit b2f7fc8b0d
1 file changed
+1 -7
+1 -7
View File
@@ -14,13 +14,7 @@
/// \note no includes because this is included as part of r_draw.cpp
#ifdef HAVE_THREADS
#ifdef _WIN32
#include <windows.h>
#define local_for_thread static __thread
#else
#include <threads.h>
#define local_for_thread thread_local static
#endif
#define local_for_thread static thread_local
#else
#define local_for_thread static
#endif