summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Compat.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/Compat.h b/Compat.h
index 2bc12dc6..02b2fcb2 100644
--- a/Compat.h
+++ b/Compat.h
@@ -74,9 +74,8 @@ ssize_t Compat_readlink(openat_arg_t dirfd,
# endif
#endif
-/* C23 will guarantee static_assert is a keyword or a macro */
-/* FIXME: replace 202300L with proper value once C23 is published */
-#if (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) < 202300L
+/* C23 guarantees static_assert is a keyword or a macro */
+#if (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) < 202311L
# if !defined(static_assert)
# define static_assert(expr, msg) _Static_assert(expr, msg)
# endif

© 2014-2024 Faster IT GmbH | imprint | privacy policy