mirror of
https://github.com/git/git.git
synced 2024-11-20 08:33:56 +01:00
Windows: Fix PRIuMAX definition.
Since GIT calls into Microsoft's MSVCRT.DLL, it must use the printf format that this DLL uses for 64-bit integers, which is %I64u instead of %llu. Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
This commit is contained in:
parent
a42a0c2e71
commit
82f8d969f5
@ -161,3 +161,4 @@ int mingw_rename(const char*, const char*);
|
|||||||
#define has_dos_drive_prefix(path) (isalpha(*(path)) && (path)[1] == ':')
|
#define has_dos_drive_prefix(path) (isalpha(*(path)) && (path)[1] == ':')
|
||||||
#define is_dir_sep(c) ((c) == '/' || (c) == '\\')
|
#define is_dir_sep(c) ((c) == '/' || (c) == '\\')
|
||||||
#define PATH_SEP ';'
|
#define PATH_SEP ';'
|
||||||
|
#define PRIuMAX "I64u"
|
||||||
|
Loading…
Reference in New Issue
Block a user