From 6bef4f7e5de16b59a63ff6f2f9bfad629f2d6202 Mon Sep 17 00:00:00 2001 From: Markus Prettner Date: Fri, 25 Aug 2023 16:25:35 +0200 Subject: [PATCH] Fix detection of thread-local storage capability for MSVC --- conf/check_thread_storage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/check_thread_storage.c b/conf/check_thread_storage.c index e6e1e98..ed5510f 100644 --- a/conf/check_thread_storage.c +++ b/conf/check_thread_storage.c @@ -1,4 +1,4 @@ -extern __thread int x; +extern __declspec(thread) int x; int main(int argc, char **argv) { return 0;