xref: /minix3/external/bsd/llvm/dist/clang/test/Headers/Inputs/include/stdint.h (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc #ifndef STDINT_H
2*f4a2713aSLionel Sambuc #define STDINT_H
3*f4a2713aSLionel Sambuc 
4*f4a2713aSLionel Sambuc #ifdef __INT32_TYPE__
5*f4a2713aSLionel Sambuc typedef unsigned __INT32_TYPE__ uint32_t;
6*f4a2713aSLionel Sambuc #endif
7*f4a2713aSLionel Sambuc 
8*f4a2713aSLionel Sambuc #ifdef __INT64_TYPE__
9*f4a2713aSLionel Sambuc typedef unsigned __INT64_TYPE__ uint64_t;
10*f4a2713aSLionel Sambuc #endif
11*f4a2713aSLionel Sambuc 
12*f4a2713aSLionel Sambuc #ifdef __INTPTR_TYPE__
13*f4a2713aSLionel Sambuc typedef __INTPTR_TYPE__ intptr_t;
14*f4a2713aSLionel Sambuc typedef unsigned __INTPTR_TYPE__ uintptr_t;
15*f4a2713aSLionel Sambuc #else
16*f4a2713aSLionel Sambuc #error Every target should have __INTPTR_TYPE__
17*f4a2713aSLionel Sambuc #endif
18*f4a2713aSLionel Sambuc 
19*f4a2713aSLionel Sambuc #endif /* STDINT_H */
20