Use bool from stdbool.h after switching to C99
This commit is contained in:
parent
b3f3bc29a1
commit
e810072d71
1 changed files with 1 additions and 8 deletions
9
types.h
9
types.h
|
@ -19,14 +19,7 @@
|
|||
#ifndef TYPES_H
|
||||
#define TYPES_H
|
||||
|
||||
#undef bool
|
||||
#undef false
|
||||
#undef true
|
||||
|
||||
typedef enum {
|
||||
false,
|
||||
true
|
||||
} bool;
|
||||
#include <stdbool.h>
|
||||
|
||||
typedef enum {
|
||||
BO_BIG_ENDIAN,
|
||||
|
|
Loading…
Add table
Reference in a new issue