Debian Codegraph @

clang/test/Headers/Inputs/include/stdint.h

raw
1 #ifndef STDINT_H
2 #define STDINT_H
3
4 #ifdef __INT8_TYPE__
5 typedef __INT8_TYPE__ int8_t;
6 #endif
7 typedef unsigned char uint8_t;
8
9 #ifdef __INT16_TYPE__
10 typedef __INT16_TYPE__ int16_t;
11 typedef unsigned __INT16_TYPE__ uint16_t;
12 #endif
13
14 #ifdef __INT32_TYPE__
15 typedef __INT32_TYPE__ int32_t;
16 typedef unsigned __INT32_TYPE__ uint32_t;
17 #endif
18
19 #ifdef __INT64_TYPE__
20 typedef __INT64_TYPE__ int64_t;
21 typedef unsigned __INT64_TYPE__ uint64_t;
22 #endif
23
24 #ifdef __INTPTR_TYPE__
25 typedef __INTPTR_TYPE__ intptr_t;
26 typedef unsigned __INTPTR_TYPE__ uintptr_t;
27 #else
28 #error Every target should have __INTPTR_TYPE__
29 #endif
30
31 #ifdef __INTPTR_MAX__
32 #define INTPTR_MAX __INTPTR_MAX__
33 #endif
34
35 #ifdef __UINTPTR_MAX__
36 #define UINTPTR_MAX __UINTPTR_MAX__
37 #endif
38
39 #endif /* STDINT_H */