git: 2712d1380fcd - main - libc: Remove incorrectly defined __STDC_VERSION_STDBOOL_H__

From: Faraz Vahedi <kfv_at_FreeBSD.org>
Date: Mon, 24 Aug 2026 13:21:11 UTC
The branch main has been updated by kfv:

URL: https://cgit.FreeBSD.org/src/commit/?id=2712d1380fcd8dd61d043b2242f20767e8f2f347

commit 2712d1380fcd8dd61d043b2242f20767e8f2f347
Author:     Faraz Vahedi <kfv@FreeBSD.org>
AuthorDate: 2026-08-24 13:18:55 +0000
Commit:     Faraz Vahedi <kfv@FreeBSD.org>
CommitDate: 2026-08-24 13:18:55 +0000

    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
---
 include/stdbool.h | 4 ----
 1 file changed, 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__ */