diff options
Diffstat (limited to 'lib/bool.h')
-rw-r--r-- | lib/bool.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/bool.h b/lib/bool.h new file mode 100644 index 0000000..7525d6c --- /dev/null +++ b/lib/bool.h @@ -0,0 +1,20 @@ +#ifndef _bool_h_ +#define _bool_h_ + +#ifndef __GNUC__ + +#ifndef bool +#define bool int +#endif + +#ifndef true +#define true 1 +#endif + +#ifndef false +#define false 0 +#endif + +#endif + +#endif |