Use bool from stdbool.h after switching to C99
This commit is contained in:
parent
b3f3bc29a1
commit
e810072d71
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…
x
Reference in New Issue
Block a user