make stdbool.h conform to c99
authorRich Felker <dalias@aerifal.cx>
Tue, 20 Sep 2011 18:51:56 +0000 (14:51 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 20 Sep 2011 18:51:56 +0000 (14:51 -0400)
include/stdbool.h

index 3d8fbf2a04b864629960fe69ad3c8c223b561042..420c332cc83da63c33b3613f492ecb22b74e789b 100644 (file)
@@ -5,8 +5,9 @@
 
 #define true 1
 #define false 0
+#define bool _Bool
 
-typedef _Bool bool;
+#define __bool_true_false_are_defined 1
 
 #endif