From 8b23a6c7e1aee255004dd19098d4c2462b61b849 Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Tue, 3 Mar 2009 19:30:32 -0800 Subject: auto import from //depot/cupcake/@135843 --- host-defs.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 host-defs.h (limited to 'host-defs.h') 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 + +#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 */ + -- cgit v1.1