mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 01:07:44 +00:00
LibC: Set PRI[xX]8/PRI[xX]16 macros to x
and X
Described in:
<https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/
inttypes.h.html>
The macros were first added in a7a456002e
,
but it is not clear why the PRIx16/32 macros were defined as 'b' & 'w'.
PrintfImplementation was never able to parse these values.
This commit is contained in:
parent
97cfb9934b
commit
6c06b70911
2 changed files with 14 additions and 4 deletions
|
@ -41,10 +41,10 @@ __BEGIN_DECLS
|
|||
# define PRIu64 "lu"
|
||||
# define PRIuPTR "lx"
|
||||
#endif
|
||||
#define PRIx8 "b"
|
||||
#define PRIX8 "hhX"
|
||||
#define PRIx16 "w"
|
||||
#define PRIX16 "hX"
|
||||
#define PRIx8 "x"
|
||||
#define PRIX8 "X"
|
||||
#define PRIx16 "x"
|
||||
#define PRIX16 "X"
|
||||
#define PRIx32 "x"
|
||||
#define PRIX32 "X"
|
||||
#ifndef __x86_64__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue