aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFaraz Vahedi <kfv@FreeBSD.org>2026-08-24 13:18:55 +0000
committerFaraz Vahedi <kfv@FreeBSD.org>2026-08-24 13:18:55 +0000
commit2712d1380fcd8dd61d043b2242f20767e8f2f347 (patch)
treeff4b9e6db00a88ac8a5f4bf6d959244a06a2f514
parentcfacf6465577e224acb86d99434d834f4facbfb2 (diff)
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
-rw-r--r--include/stdbool.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/stdbool.h b/include/stdbool.h
index 968967a4cfa6..e563f8fe57dd 100644
--- a/include/stdbool.h
+++ b/include/stdbool.h
@@ -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__ */