]> git.lizzy.rs Git - plan9front.git/blob - sys/include/ape/inttypes.h
libmp: remove include of libsec.h
[plan9front.git] / sys / include / ape / inttypes.h
1 #ifndef _SUSV2_SOURCE
2 #error "inttypes.h is SUSV2"
3 #endif
4
5 #ifndef _INTTYPES_H_
6 #define _INTTYPES_H_ 1
7
8 #include <stdint.h>
9
10 #define PRId8 "d"
11 #define PRId16 "d"
12 #define PRId32 "d"
13 #define PRId64 "lld"
14
15 #define PRIo8 "o"
16 #define PRIo16 "o"
17 #define PRIo32 "o"
18 #define PRIo64 "llo"
19
20 #define PRIx8 "x"
21 #define PRIx16 "x"
22 #define PRIx32 "x"
23 #define PRIx64 "llx"
24
25 #define PRIu8 "u"
26 #define PRIu16 "u"
27 #define PRIu32 "u"
28 #define PRIu64 "llu"
29
30 #endif