mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Add PRIX64
define for MinGW
For printing an `int64_t` as hexadecimal on MinGW.
This commit is contained in:
parent
2be3ecfd4f
commit
dd3dd4e3ca
|
@ -23,8 +23,10 @@
|
||||||
#ifdef __MINGW32__
|
#ifdef __MINGW32__
|
||||||
#undef PRId64
|
#undef PRId64
|
||||||
#undef PRIu64
|
#undef PRIu64
|
||||||
|
#undef PRIX64
|
||||||
#define PRId64 "I64d"
|
#define PRId64 "I64d"
|
||||||
#define PRIu64 "I64u"
|
#define PRIu64 "I64u"
|
||||||
|
#define PRIX64 "I64X"
|
||||||
#define PRIzu "Iu"
|
#define PRIzu "Iu"
|
||||||
#else
|
#else
|
||||||
#define PRIzu "zu"
|
#define PRIzu "zu"
|
||||||
|
|
Loading…
Reference in a new issue