Add PRIX64 define for MinGW

For printing an `int64_t` as hexadecimal on MinGW.
This commit is contained in:
Robert Müller 2023-06-05 20:58:39 +02:00
parent 2be3ecfd4f
commit dd3dd4e3ca

View file

@ -23,8 +23,10 @@
#ifdef __MINGW32__
#undef PRId64
#undef PRIu64
#undef PRIX64
#define PRId64 "I64d"
#define PRIu64 "I64u"
#define PRIX64 "I64X"
#define PRIzu "Iu"
#else
#define PRIzu "zu"