mirror of
https://git.FreeBSD.org/src.git
synced 2026-06-02 11:24:32 +00:00
libc: Add <assert.h> C23 feature test macro
Signed-off-by: Faraz Vahedi <kfv@kfv.io> Reviewed by: fuz MFC after: 1 month Pull Request: https://github.com/freebsd/freebsd-src/pull/2203
This commit is contained in:
committed by
Robert Clausecker
parent
867b51452e
commit
0fe73dcf7c
+3
-3
@@ -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__ */
|
||||
|
||||
Reference in New Issue
Block a user