]> pd.if.org Git - pdclib.old/blobdiff - stdbool.h
Second try. Freestanding only, for now.
[pdclib.old] / stdbool.h
diff --git a/stdbool.h b/stdbool.h
new file mode 100644 (file)
index 0000000..dc93679
--- /dev/null
+++ b/stdbool.h
@@ -0,0 +1,17 @@
+#ifndef _PDCLIB_STDBOOL_H
+#define _PDCLIB_STDBOOL_H _PDCLIB_STDBOOL_H
+
+/* $Id$ */
+
+/* 7.16 Boolean type and values <stdbool.h>
+
+   This file is part of the Public Domain C Library (PDCLib).
+   Permission is granted to use, modify, and / or redistribute at will.
+*/
+
+#define bool _Bool
+#define true 1
+#define false 0
+#define __bool_true_false_are_defined 1
+
+#endif