File 0001-bool-is-a-keyword-since-C23.patch of Package opensimh
From 694ab42f99402b96339b782accbc6d54582f091f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@kkaempf.de> Date: Sat, 20 Dec 2025 15:44:51 +0100 Subject: [PATCH] bool is a keyword since C23 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Klaus Kämpf <kkaempf@kkaempf.de> --- slirp_glue/config-host.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/slirp_glue/config-host.h b/slirp_glue/config-host.h index 9bb557ce..9f5424bc 100644 --- a/slirp_glue/config-host.h +++ b/slirp_glue/config-host.h @@ -12,8 +12,10 @@ typedef int SOCKET; #endif #ifndef __cplusplus +#if __STDC_VERSION__ < 202000 typedef int bool; #endif +#endif #ifdef _MSC_VER #include <win32/stdint.h> #else -- 2.52.0