]>
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 | |
7c673cae FG |
8 | #ifdef HAVE_LINUX_TYPES_H |
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 | ||
44 | #define __bitwise__ | |
45 | ||
46 | typedef __u16 __bitwise__ __le16; | |
47 | typedef __u16 __bitwise__ __be16; | |
48 | typedef __u32 __bitwise__ __le32; | |
49 | typedef __u32 __bitwise__ __be32; | |
50 | typedef __u64 __bitwise__ __le64; | |
51 | typedef __u64 __bitwise__ __be64; | |
52 | ||
c07f9fc5 FG |
53 | #ifndef BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS |
54 | #define BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS | |
55 | #endif | |
56 | ||
57 | #ifndef BOOST_MPL_LIMIT_VECTOR_SIZE | |
58 | #define BOOST_MPL_LIMIT_VECTOR_SIZE 30 // or whatever you need | |
59 | #endif | |
60 | ||
61 | #ifndef BOOST_MPL_LIMIT_MAP_SIZE | |
62 | #define BOOST_MPL_LIMIT_MAP_SIZE 30 // or whatever you need | |
63 | #endif | |
64 | ||
7c673cae | 65 | #endif |