mirror of https://git.tukaani.org/xz.git
tuklib: __STDC_VERSION__ in C23 is 202311
This commit is contained in:
parent
9e73918a4f
commit
caea7844d3
|
@ -68,9 +68,7 @@
|
||||||
// __attribute__((nonnull(1)))
|
// __attribute__((nonnull(1)))
|
||||||
// extern void foo(const char *s);
|
// extern void foo(const char *s);
|
||||||
//
|
//
|
||||||
// FIXME: Update __STDC_VERSION__ for the final C23 version. 202000 is used
|
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311
|
||||||
// by GCC 13 and Clang 15 with -std=c2x.
|
|
||||||
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202000
|
|
||||||
# define tuklib_attr_noreturn [[noreturn]]
|
# define tuklib_attr_noreturn [[noreturn]]
|
||||||
#elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112
|
#elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112
|
||||||
# define tuklib_attr_noreturn _Noreturn
|
# define tuklib_attr_noreturn _Noreturn
|
||||||
|
|
Loading…
Reference in New Issue