summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2025-01-16 18:50:54 +0100
committerLuca Boccassi <luca.boccassi@gmail.com>2025-01-17 20:46:37 +0100
commit9cd064aa9ffe8728961859a127c18054c857a5b8 (patch)
tree430074aaa89ff246c3f8b70667016da8a5a979fb /src
parenthexdump: if size is SIZE_MAX, use strlen() (diff)
downloadsystemd-9cd064aa9ffe8728961859a127c18054c857a5b8.tar.xz
systemd-9cd064aa9ffe8728961859a127c18054c857a5b8.zip
meson: bump C std to gnu17
GCC 8.4 (our baseline) defaults to gnu17 already.
Diffstat (limited to 'src')
-rw-r--r--src/basic/missing_threads.h2
1 files changed, 1 insertions, 1 deletions
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 <threads.h>
#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