libc: Remove incorrectly defined __STDC_VERSION_STDBOOL_H__

C23 does not define __STDC_VERSION_STDBOOL_H__ for <stdbool.h>.
Feature test macros of this form only apply to headers where the
standard explicitly mandates one.

Reviewed by:	fuz
Approved by:	fuz (mentor)
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D59136
This commit is contained in:
Faraz Vahedi committed 2026-08-24 16:48:55 +03:30
1 parent cfacf64655
commit 2712d1380f
1 file changed
-4
-4
View File
@@ -26,9 +26,6 @@
* SUCH DAMAGE.
*/
#ifndef __STDC_VERSION_STDBOOL_H__
#define __STDC_VERSION_STDBOOL_H__ 202311L
#ifndef __bool_true_false_are_defined
#define __bool_true_false_are_defined 1
@@ -41,4 +38,3 @@
#endif /* (__STDC_VERSION__ < 202311L) && !defined(__cplusplus) */
#endif /* __bool_true_false_are_defined */
#endif /* __STDC_VERSION_STDBOOL_H__ */