| 1 |
--- bool.h (revision 74875) |
| 2 |
+++ bool.h (working copy) |
| 3 |
@@ -23,7 +23,10 @@ |
| 4 |
#ifndef BOOL_H |
| 5 |
#define BOOL_H |
| 6 |
|
| 7 |
-typedef unsigned int bool; |
| 8 |
+#include <stdbool.h> |
| 9 |
+ |
| 10 |
+/* C23 makes a typedef bool into an error. */ |
| 11 |
+/* typedef unsigned int bool; */ |
| 12 |
#define true 1 |
| 13 |
#define false 0 |
| 14 |
|