avoid redefines
This commit is contained in:
parent
823ed29161
commit
d5c5a5368f
1 changed files with 8 additions and 2 deletions
|
@ -8,9 +8,15 @@
|
||||||
#ifndef DEFINE_H
|
#ifndef DEFINE_H
|
||||||
#define DEFINE_H
|
#define DEFINE_H
|
||||||
|
|
||||||
|
#ifndef bool
|
||||||
typedef unsigned char bool;
|
typedef unsigned char bool;
|
||||||
#define FALSE 0
|
#endif
|
||||||
#define TRUE 1
|
#ifndef FALSE
|
||||||
|
# define FALSE 0
|
||||||
|
#endif
|
||||||
|
#ifndef TRUE
|
||||||
|
# define TRUE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
// #define DEBUG 1
|
// #define DEBUG 1
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
|
Loading…
Reference in a new issue