Use bool from stdbool.h after switching to C99

This commit is contained in:
Bert Münnich 2013-02-08 23:20:11 +01:00
parent b3f3bc29a1
commit e810072d71
1 changed files with 1 additions and 8 deletions

View File

@ -19,14 +19,7 @@
#ifndef TYPES_H #ifndef TYPES_H
#define TYPES_H #define TYPES_H
#undef bool #include <stdbool.h>
#undef false
#undef true
typedef enum {
false,
true
} bool;
typedef enum { typedef enum {
BO_BIG_ENDIAN, BO_BIG_ENDIAN,