[PATCH 3/8] test: add type bool

Avi Kivity
2010-07-28T10:18:29Z

kvm/test/lib/libcflat.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/kvm/test/lib/libcflat.h b/kvm/test/lib/libcflat.h
index 2e2a8bf..d0d3df2 100644
--- a/kvm/test/lib/libcflat.h
+++ b/kvm/test/lib/libcflat.h
@@ -28,6 +28,10 @@ typedef unsigned u32;
typedef unsigned long ulong;
typedef unsigned long long u64;
typedef unsigned long size_t;
+typedef _Bool bool;
+
+#define true 1
+#define false 0

extern void exit(int code);
extern void panic(char *fmt, ...);
--
1.7.1