We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c0e965 commit 30618c5Copy full SHA for 30618c5
Compat.h
@@ -74,9 +74,8 @@ ssize_t Compat_readlink(openat_arg_t dirfd,
74
# endif
75
#endif
76
77
-/* C23 will guarantee static_assert is a keyword or a macro */
78
-/* FIXME: replace 202300L with proper value once C23 is published */
79
-#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
80
# if !defined(static_assert)
81
# define static_assert(expr, msg) _Static_assert(expr, msg)
82
0 commit comments