mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-29 03:45:02 +01:00
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:
1 parent
867b51452e
commit
0fe73dcf7c
1 file changed
+3
-3
+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