diff options
author | Mitya Selivanov <0x7fffff@guattari.ru> | 2022-08-16 05:19:53 +0400 |
---|---|---|
committer | Mitya Selivanov <0x7fffff@guattari.ru> | 2022-08-16 05:19:53 +0400 |
commit | 8f60343cb7f33277515c3b1b25d1e90e53477556 (patch) | |
tree | 0d60d12121614bbd40017b29547f2c6133b02454 /source | |
parent | a2e08b04521aa39ec5ce8594ca2ff5a3646cc2f5 (diff) | |
download | kit-8f60343cb7f33277515c3b1b25d1e90e53477556.zip |
test
Diffstat (limited to 'source')
-rw-r--r-- | source/kit/c11/threads.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/kit/c11/threads.h b/source/kit/c11/threads.h index f0a398a..2083429 100644 --- a/source/kit/c11/threads.h +++ b/source/kit/c11/threads.h @@ -75,7 +75,11 @@ * C++11 and above already have thread_local keyword */ # ifndef thread_local -# define thread_local _Thread_local +# if _MSC_VER +# define thread_local __declspec(thread) +# else +# define thread_local _Thread_local +# endif # endif #endif |