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
|
#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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user