Parser: Use defined Bool or create one
This commit is contained in:
parent
4a3952f54f
commit
3841e55f82
@ -21,10 +21,11 @@
|
||||
|
||||
#define INCLUDE_CMD "@include"
|
||||
|
||||
#define False 0
|
||||
#define True 1
|
||||
|
||||
#define bool_t int
|
||||
#if defined(Bool)
|
||||
#define bool_t Bool
|
||||
#else
|
||||
typedef enum { False, True } bool_t;
|
||||
#endif /* Bool */
|
||||
|
||||
struct conf_opt {
|
||||
char *name;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user