From f2eabdb6257c09cf2890dac5e9737912728542af Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Thu, 2 Feb 2023 17:29:19 -0400 Subject: global: Add rest of Dolphin SDK proper, add MSL, and MetroTRK Finally, it links properly. --- include/libc/stdbool.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 include/libc/stdbool.h (limited to 'include/libc') 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 -- cgit v1.2.3-13-gbd6f