summaryrefslogtreecommitdiff
path: root/dev-lang/uasm/files/bool-fix.diff
blob: 6071a0d42ba998f8f1782f344bd6cb43867ffb27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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