mirror of
https://github.com/git/git.git
synced 2026-03-13 18:33:25 +01:00
Fix PRIuMAX definition for MinGW.
Since MinGW calls into Microsoft's MSVCRT.DLL, it must use the printf format that this DLL uses for 64bit integers, which is %I64u instead of %llu.
This commit is contained in:
@@ -74,7 +74,11 @@
|
||||
#endif
|
||||
|
||||
#ifndef PRIuMAX
|
||||
#ifndef __MINGW32__
|
||||
#define PRIuMAX "llu"
|
||||
#else
|
||||
#define PRIuMAX "I64u"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
|
||||
Reference in New Issue
Block a user