]> pd.if.org Git - pdclib/blobdiff - includes/stdbool.h
Fleshing out the headers.
[pdclib] / includes / stdbool.h
index 734a52dd99733fde260901db7ad395f2306fd3bf..7f58ab7bb029ffe88f22a7547150c847572d2670 100644 (file)
 #ifndef __STDBOOL_H
 #define __STDBOOL_H __STDBOOL_H
 
-// TODO
+// ----------------------------------------------------------------------------
+// MACROS
+
+#define __bool_true_false_are_defined 1
+
+#ifndef __cplusplus
+
+#define bool  _Bool
+#define false 0
+#define true  1
+
+// ----------------------------------------------------------------------------
+// TYPEDEFS
+
+typedef int bool;
+
+#endif // __cplusplus
 
 #endif // __STDBOOL_H