aboutsummaryrefslogtreecommitdiff
path: root/include/lib/stdlib/stdbool.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lib/stdlib/stdbool.h')
-rw-r--r--include/lib/stdlib/stdbool.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/lib/stdlib/stdbool.h b/include/lib/stdlib/stdbool.h
new file mode 100644
index 000000000..e39aef7d3
--- /dev/null
+++ b/include/lib/stdlib/stdbool.h
@@ -0,0 +1,17 @@
+/*
+ * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#ifndef STDBOOL_H
+#define STDBOOL_H
+
+#define bool _Bool
+
+#define true 1
+#define false 0
+
+#define __bool_true_false_are_defined 1
+
+#endif /* STDBOOL_H */