diff options
Diffstat (limited to 'basic.h')
-rw-r--r-- | basic.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -26,9 +26,17 @@ #define BASIC_H /* bool definitions */ +#ifndef bool #define bool int +#endif + +#ifndef true #define true 1 +#endif + +#ifndef false #define false 0 +#endif #define BOOL_CAST(x) ((x) ? (true) : (false)) |