The Android Open Source Project | 8b23a6c | 2009-03-03 19:30:32 -0800 | [diff] [blame] | 1 | #ifndef _HOST_DEFS_H |
2 | #define _HOST_DEFS_H | ||||
3 | |||||
4 | /* all host-specific definitions should go here */ | ||||
5 | |||||
6 | #include "config-host.h" | ||||
7 | #include <stdint.h> | ||||
8 | |||||
9 | #if HOST_LONG_BITS == 32 | ||||
10 | typedef int32_t host_long; | ||||
11 | typedef uint32_t host_ulong; | ||||
12 | #elif HOST_LONG_BITS == 64 | ||||
13 | typedef int64_t host_long; | ||||
14 | typedef uint64_t host_ulong; | ||||
15 | #endif | ||||
16 | |||||
17 | #endif /* _HOST_DEFS_H */ | ||||
18 |