summaryrefslogtreecommitdiffstats
path: root/qemu/roms/SLOF/lib/libc/include/stdbool.h
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/roms/SLOF/lib/libc/include/stdbool.h')
-rw-r--r--qemu/roms/SLOF/lib/libc/include/stdbool.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/qemu/roms/SLOF/lib/libc/include/stdbool.h b/qemu/roms/SLOF/lib/libc/include/stdbool.h
new file mode 100644
index 000000000..5b7d36a7e
--- /dev/null
+++ b/qemu/roms/SLOF/lib/libc/include/stdbool.h
@@ -0,0 +1,20 @@
+/******************************************************************************
+ * Copyright (c) 2013 IBM Corporation
+ * All rights reserved.
+ * This program and the accompanying materials
+ * are made available under the terms of the BSD License
+ * which accompanies this distribution, and is available at
+ * http://www.opensource.org/licenses/bsd-license.php
+ *
+ * Contributors:
+ * IBM Corporation - initial implementation
+ *****************************************************************************/
+
+#ifndef _STDBOOL_H
+#define _STDBOOL_H
+
+#ifndef __cplusplus
+typedef enum { false = 0, true } bool;
+#endif
+
+#endif