1
0
forked from jengelh/virtualbox
Files
virtualbox/gentoo-C23.patch

17 lines
333 B
Diff
Raw Permalink Normal View History

2025-05-27 17:24:09 +02:00
https://bugs.gentoo.org/946955
--- a/include/iprt/types.h
+++ b/include/iprt/types.h
@@ -282,7 +282,10 @@
2025-05-27 17:24:09 +02:00
# endif
# else
-# undef bool /* see above netbsd explanation */
+# if defined (__KERNEL__)
typedef _Bool bool;
+# else
+# include <stdbool.h>
+# endif
2025-05-27 17:24:09 +02:00
# endif
# else
# if RT_MSC_PREREQ(RT_MSC_VER_VC120)