diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-02-10 15:43:59 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-02-10 15:43:59 -0800 |
commit | c27f813900a3c114562efbb8df1065e94766fc48 (patch) | |
tree | d95919283707dcab61009e27007374a745c9541e /host-defs.h | |
parent | 0852ad57fa372f9b2854e4df685eaba8d8ef6790 (diff) | |
download | external_qemu-c27f813900a3c114562efbb8df1065e94766fc48.zip external_qemu-c27f813900a3c114562efbb8df1065e94766fc48.tar.gz external_qemu-c27f813900a3c114562efbb8df1065e94766fc48.tar.bz2 |
auto import from //branches/cupcake/...@130745
Diffstat (limited to 'host-defs.h')
-rw-r--r-- | host-defs.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/host-defs.h b/host-defs.h new file mode 100644 index 0000000..686416a --- /dev/null +++ b/host-defs.h @@ -0,0 +1,18 @@ +#ifndef _HOST_DEFS_H +#define _HOST_DEFS_H + +/* all host-specific definitions should go here */ + +#include "config-host.h" +#include <stdint.h> + +#if HOST_LONG_BITS == 32 +typedef int32_t host_long; +typedef uint32_t host_ulong; +#elif HOST_LONG_BITS == 64 +typedef int64_t host_long; +typedef uint64_t host_ulong; +#endif + +#endif /* _HOST_DEFS_H */ + |