From 3e09037780ca95633749be3acd52e817eed7f98c Mon Sep 17 00:00:00 2001 From: dzwdz Date: Thu, 24 Aug 2023 19:10:35 +0200 Subject: libc: get most of binutils to compile --- src/libc/include/inttypes.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/libc/include/inttypes.h') diff --git a/src/libc/include/inttypes.h b/src/libc/include/inttypes.h index 9a6118b..d44129a 100644 --- a/src/libc/include/inttypes.h +++ b/src/libc/include/inttypes.h @@ -1 +1,19 @@ #include + +#define PRId64 "ld" +#define PRIo64 "lo" +#define PRIu64 "lu" +#define PRIx64 "lx" +#define SCNu64 "lu" + +#define PRId32 "d" +#define PRIo32 "o" +#define PRIu32 "u" +#define PRIx32 "x" +#define SCNu32 "u" + +#define PRId16 "d" +#define PRIo16 "o" +#define PRIu16 "u" +#define PRIx16 "x" +#define SCNu16 "u" -- cgit v1.2.3