Require C11 thread_local keyword and <threads.h> header
Change the autoconf check to require C11 <threads.h> header and thread_local keyword.
This commit is contained in:
@@ -16,8 +16,11 @@
|
||||
/*! \file */
|
||||
|
||||
#include <pthread.h>
|
||||
|
||||
#if HAVE_THREADS_H
|
||||
#include <threads.h>
|
||||
#else
|
||||
#define thread_local _Thread_local
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_PTHREAD_NP_H)
|
||||
|
||||
Reference in New Issue
Block a user