nsxive810072
Use bool from stdbool.h after switching to C99
+1 −8
1 file changed
- M types.h +1 −8
| @@ -19,14 +19,7 @@ | |||
| 19 | 19 | #ifndef TYPES_H | |
| 20 | 20 | #define TYPES_H | |
| 21 | 21 | ||
| 22 | − | #undef bool | |
| 23 | − | #undef false | |
| 24 | − | #undef true | |
| 25 | − | ||
| 26 | − | typedef enum { | |
| 27 | − | false, | |
| 28 | − | true | |
| 29 | − | } bool; | |
| 22 | + | #include <stdbool.h> | |
| 30 | 23 | ||
| 31 | 24 | typedef enum { | |
| 32 | 25 | BO_BIG_ENDIAN, | |