gentoo-ebuilds/dev-lang/uasm/files/bool-fix.diff
NRK f1ad5f3ab6
dev-lang/uasm: replace custom bool with stdbool.h
Closes: https://bugs.gentoo.org/944192
Signed-off-by: NRK <nrk@disroot.org>
Closes: https://github.com/gentoo/gentoo/pull/40969
Signed-off-by: Sam James <sam@gentoo.org>
2025-03-10 00:21:24 +00:00

18 lines
460 B
Diff

https://bugs.gentoo.org/944192
diff --git a/H/bool.h b/H/bool.h
index fbf55c8..ddb7396 100644
--- a/H/bool.h
+++ b/H/bool.h
@@ -30,10 +30,7 @@
****************************************************************************/
-#if !defined( BOOL_DEFINED ) && !defined( bool ) && !(__WATCOMC__ >= 1070 && defined(__cplusplus))
- #define BOOL_DEFINED
- typedef unsigned char bool;
-#endif
+#include <stdbool.h>
#ifndef TRUE
#define TRUE 1
#endif