summaryrefslogtreecommitdiff
path: root/builtin/stdbool.h
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/stdbool.h')
-rw-r--r--builtin/stdbool.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/builtin/stdbool.h b/builtin/stdbool.h
new file mode 100644
index 0000000000..6e0f92dfc0
--- /dev/null
+++ b/builtin/stdbool.h
@@ -0,0 +1,13 @@
+/* Copyright 2016 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#ifndef __CROS_EC_STDBOOL_H__
+#define __CROS_EC_STDBOOL_H__
+
+#define bool _Bool
+#define true 1
+#define false 0
+
+#endif /* __CROS_EC_STDBOOL_H__ */