소스 검색

make stdbool.h conform to c99

Rich Felker 13 년 전
부모
커밋
d23a543d8a
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      include/stdbool.h

+ 2 - 1
include/stdbool.h

@@ -5,8 +5,9 @@
 
 #define true 1
 #define false 0
+#define bool _Bool
 
-typedef _Bool bool;
+#define __bool_true_false_are_defined 1
 
 #endif