Subject: roms/SLOF: support c23 (bool)
From: Michael Tokarev <mjt@tls.msk.ru>
Date: Mon, 25 Aug 2025 22:33:59 +0300
Forwarded: no
Bug-Debian: https://bugs.debian.org/1097693

In c23, bool, true and false are keywords,
don't try to (re)define them.

diff --git a/roms/SLOF/lib/libc/include/stdbool.h b/roms/SLOF/lib/libc/include/stdbool.h
--- a/roms/SLOF/lib/libc/include/stdbool.h
+++ b/roms/SLOF/lib/libc/include/stdbool.h
@@ -14,7 +14,11 @@
 #define _STDBOOL_H
 
 #ifndef __cplusplus
+#if defined __STDC_VERSION__ && __STDC_VERSION__ > 201710L
+/* bool, true and false are keywords.  */
+#else
 typedef enum { false = 0, true } bool;
 #endif
+#endif
 
 #endif
