aboutsummaryrefslogtreecommitdiffstats
path: root/host-defs.h
blob: 686416a3deae8e378a02610886476259db805c7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 */