summaryrefslogtreecommitdiff
path: root/include/libc
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-02-02 17:29:19 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-02-03 13:27:06 -0400
commitf2eabdb6257c09cf2890dac5e9737912728542af (patch)
tree3b46f6787185d65605651a0f48776dc9779ce648 /include/libc
parenteef1dd840b7cecac28c2e6b0574707b90a37d4e7 (diff)
global: Add rest of Dolphin SDK proper, add MSL, and MetroTRK
Finally, it links properly.
Diffstat (limited to 'include/libc')
-rw-r--r--include/libc/stdbool.h16
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