]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | #ifndef CEPH_INTTYPES_H |
2 | #define CEPH_INTTYPES_H | |
3 | ||
4 | #include "acconfig.h" | |
5 | ||
31f18b77 | 6 | #include <inttypes.h> |
7c673cae | 7 | |
f67539c2 | 8 | #ifdef __linux__ |
7c673cae | 9 | #include <linux/types.h> |
31f18b77 | 10 | #else |
7c673cae FG |
11 | #ifndef HAVE___U8 |
12 | typedef uint8_t __u8; | |
13 | #endif | |
14 | ||
15 | #ifndef HAVE___S8 | |
16 | typedef int8_t __s8; | |
17 | #endif | |
18 | ||
19 | #ifndef HAVE___U16 | |
20 | typedef uint16_t __u16; | |
21 | #endif | |
22 | ||
23 | #ifndef HAVE___S16 | |
24 | typedef int16_t __s16; | |
25 | #endif | |
26 | ||
27 | #ifndef HAVE___U32 | |
28 | typedef uint32_t __u32; | |
29 | #endif | |
30 | ||
31 | #ifndef HAVE___S32 | |
32 | typedef int32_t __s32; | |
33 | #endif | |
34 | ||
35 | #ifndef HAVE___U64 | |
36 | typedef uint64_t __u64; | |
37 | #endif | |
38 | ||
39 | #ifndef HAVE___S64 | |
40 | typedef int64_t __s64; | |
41 | #endif | |
42 | #endif /* LINUX_TYPES_H */ | |
43 | ||
c07f9fc5 FG |
44 | #ifndef BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS |
45 | #define BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS | |
46 | #endif | |
47 | ||
48 | #ifndef BOOST_MPL_LIMIT_VECTOR_SIZE | |
49 | #define BOOST_MPL_LIMIT_VECTOR_SIZE 30 // or whatever you need | |
50 | #endif | |
51 | ||
52 | #ifndef BOOST_MPL_LIMIT_MAP_SIZE | |
53 | #define BOOST_MPL_LIMIT_MAP_SIZE 30 // or whatever you need | |
54 | #endif | |
55 | ||
7c673cae | 56 | #endif |