diff options
author | Avi Kivity <avi@redhat.com> | 2010-07-28 13:18:22 +0300 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2010-07-29 13:54:35 -0300 |
commit | dc4ca0efd9bc41ce50a6ff3079b4464272eee750 (patch) | |
tree | bfe9d3c08b60be99bf54fe4a2781977084efe951 /kvm | |
parent | 34fd2c2c96ef5f0d6829b6707e625ffebb4255be (diff) |
test: add type bool
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'kvm')
-rw-r--r-- | 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 2e2a8bf20..d0d3df2ea 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, ...); |