libc: Add <assert.h> C23 feature test macro

Signed-off-by:	Faraz Vahedi <[email protected]>
Reviewed by:	fuz
MFC after:	1 month
Pull Request:	https://github.com/freebsd/freebsd-src/pull/2203
This commit is contained in:
Faraz Vahedi authored and Robert Clausecker committed 2026-05-30 15:43:52 +02:00
1 parent 867b51452e
commit 0fe73dcf7c
1 file changed
+3 -3
+3 -3
View File
@@ -88,8 +88,8 @@
#endif /* __BSD_VISIBLE */
#endif /* NDEBUG */
#ifndef _ASSERT_H_
#define _ASSERT_H_
#ifndef __STDC_VERSION_ASSERT_H__
#define __STDC_VERSION_ASSERT_H__ 202311L
/*
* Static assertions. In principle we could define static_assert for
@@ -112,4 +112,4 @@ __BEGIN_DECLS
void __assert(const char *, const char *, int, const char *) __dead2;
__END_DECLS
#endif /* !_ASSERT_H_ */
#endif /* !__STDC_VERSION_ASSERT_H__ */