diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-08-27 15:50:42 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-08-28 17:33:20 -0400 |
commit | a37a564b66b363cc509cc5cdd16fd65b7950b0be (patch) | |
tree | 17960f7a657cd45d7421ad92c38501730f4c56bc /src/thread.h | |
parent | 8ca167ee93d4a79f1f24bd959de8b85183577064 (diff) | |
download | bfs-a37a564b66b363cc509cc5cdd16fd65b7950b0be.tar.xz |
prelude: Define thread_local
Diffstat (limited to 'src/thread.h')
-rw-r--r-- | src/thread.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/thread.h b/src/thread.h index db11bd8..dbf11ce 100644 --- a/src/thread.h +++ b/src/thread.h @@ -11,14 +11,6 @@ #include "prelude.h" #include <pthread.h> -#if __STDC_VERSION__ < C23 && !defined(thread_local) -# if BFS_USE_THREADS_H -# include <threads.h> -# else -# define thread_local _Thread_local -# endif -#endif - /** Thread entry point type. */ typedef void *thread_fn(void *arg); |