From 9cd064aa9ffe8728961859a127c18054c857a5b8 Mon Sep 17 00:00:00 2001 From: Mike Yuan Date: Thu, 16 Jan 2025 18:50:54 +0100 Subject: meson: bump C std to gnu17 GCC 8.4 (our baseline) defaults to gnu17 already. --- src/basic/missing_threads.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/basic/missing_threads.h b/src/basic/missing_threads.h index d48e05d586..c7da1dbd5e 100644 --- a/src/basic/missing_threads.h +++ b/src/basic/missing_threads.h @@ -5,7 +5,7 @@ #if HAVE_THREADS_H # include #elif !(defined(thread_local)) -# if __STDC_VERSION__ >= 201112L && !(defined(__STDC_NO_THREADS__)) +# ifndef __STDC_NO_THREADS__ # define thread_local _Thread_local # else # define thread_local __thread -- cgit v1.2.3