fix windoze compile
windoze does not have threads.h and thread_local is only a keyword per c23.... thanks michealslop....
This commit is contained in:
1 parent
e54b6a780d
commit
5751f9b29b
1 file changed
+1
-2
+1
-2
@@ -14,8 +14,7 @@
|
||||
#include <string.h>
|
||||
|
||||
#ifdef HAVE_THREADS
|
||||
#include <threads.h>
|
||||
#define local_for_thread thread_local
|
||||
#define local_for_thread _Thread_local
|
||||
#else
|
||||
#define local_for_thread
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user