]> git.proxmox.com Git - ceph.git/blame - ceph/src/include/int_types.h
update sources to v12.1.2
[ceph.git] / ceph / src / include / int_types.h
CommitLineData
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
12typedef uint8_t __u8;
13#endif
14
15#ifndef HAVE___S8
16typedef int8_t __s8;
17#endif
18
19#ifndef HAVE___U16
20typedef uint16_t __u16;
21#endif
22
23#ifndef HAVE___S16
24typedef int16_t __s16;
25#endif
26
27#ifndef HAVE___U32
28typedef uint32_t __u32;
29#endif
30
31#ifndef HAVE___S32
32typedef int32_t __s32;
33#endif
34
35#ifndef HAVE___U64
36typedef uint64_t __u64;
37#endif
38
39#ifndef HAVE___S64
40typedef int64_t __s64;
41#endif
42#endif /* LINUX_TYPES_H */
43
44#define __bitwise__
45
46typedef __u16 __bitwise__ __le16;
47typedef __u16 __bitwise__ __be16;
48typedef __u32 __bitwise__ __le32;
49typedef __u32 __bitwise__ __be32;
50typedef __u64 __bitwise__ __le64;
51typedef __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