summaryrefslogtreecommitdiff
path: root/agbcc/include/stdbool.h
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2017-05-11 16:25:56 -0400
committerProjectRevoTPP <projectrevotpp@hotmail.com>2017-05-11 16:25:56 -0400
commitf819edab3ec51c378874fcdab7a3932b5f193636 (patch)
tree94a9e565211dadd6d3ac936d380a69458642d13e /agbcc/include/stdbool.h
parentb51c787e63ae3aca29dc7fc721bf8d368c3c0e54 (diff)
add include files
Diffstat (limited to 'agbcc/include/stdbool.h')
-rwxr-xr-xagbcc/include/stdbool.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/agbcc/include/stdbool.h b/agbcc/include/stdbool.h
new file mode 100755
index 0000000..0baf9ce
--- /dev/null
+++ b/agbcc/include/stdbool.h
@@ -0,0 +1,20 @@
+/* stdbool.h for GNU. */
+#ifndef __STDBOOL_H__
+#define __STDBOOL_H__ 1
+
+/* The type `bool' must promote to `int' or `unsigned int'. The constants
+ `true' and `false' must have the value 0 and 1 respectively. */
+typedef enum
+ {
+ false = 0,
+ true = 1
+ } bool;
+
+/* The names `true' and `false' must also be made available as macros. */
+#define false false
+#define true true
+
+/* Signal that all the definitions are present. */
+#define __bool_true_false_are_defined 1
+
+#endif /* stdbool.h */