litl 0.1.9
Loading...
Searching...
No Matches
litl_config.h
Go to the documentation of this file.
1#ifndef LITL_CONFIG_H
2#define LITL_CONFIG_H
3
4
5#define USE_GETTID 0
6
7
8#define FORCE_32BIT 0
9
10#if FORCE_32_BIT
11/* compile for 32bit architecture */
12#define HAVE_32BIT 1
13
14#else /* FORCE_32_BIT */
15/* detect 32/64 bit architecture */
16
17#ifndef SIZEOF_SIZE_T
18#define SIZEOF_SIZE_T 8
19#endif
20
21#if (SIZEOF_SIZE_T == 4)
22/* 32bit arch */
23#define HAVE_32BIT 1
24#else
25/* 64bit arch */
26#define HAVE_32BIT 0
27#endif
28
29#endif
30
31#define CLOCK_GETTIME_AVAIL 1
32
33#endif /* LITL_CONFIG_H */