diff options
Diffstat (limited to 'include/libc')
-rw-r--r-- | include/libc/stdbool.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/libc/stdbool.h b/include/libc/stdbool.h new file mode 100644 index 0000000..1c12915 --- /dev/null +++ b/include/libc/stdbool.h @@ -0,0 +1,16 @@ +/// @file +/// @todo Assumes @c __PPCGEKKO__. +#ifndef STDBOOL_H +#define STDBOOL_H + +/// A signed integer used to contain boolean values +/// @todo Maybe some versions of MetroWerks support @c _Bool? +typedef int bool; + +/// #bool true +#define true 1 + +/// #bool false +#define false 0 + +#endif |