Skip to content

Commit

Permalink
Parser: Use defined Bool or create one
Browse files Browse the repository at this point in the history
  • Loading branch information
philpep committed Aug 30, 2010
1 parent 4a3952f commit 3841e55
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/parse/parse.h
Expand Up @@ -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;
Expand Down

0 comments on commit 3841e55

Please sign in to comment.