git: 9front

Download patch

ref: 111f24809f73a1ed96b93b0e7bc54e0733d9a4fa
parent: 860fa7b1c6905e77cb7c6bbe2b28c6691d48ac53
author: Ori Bernstein <ori@eigenstate.org>
date: Sun May 17 04:18:49 EDT 2020

Add stdbool.h to ape

in accordance with c99:7.16. Used by perl, trivial enough
that I feel ok with adding it before the port is fully done.

--- /dev/null
+++ b/sys/include/ape/stdbool.h
@@ -1,0 +1,12 @@
+#ifndef __STDBOOL_H__
+#define __STDBOOL_H__
+
+/* Strictly speaking, this should be a built-in type. */
+typedef char _Bool;
+
+#define bool _Bool
+#define true 1
+#define false 0
+#define __bool_true_false_are_defined 1
+
+#endif
--