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>
Johannes Sixt committed
Mar 23, 2007 at 10:57 UTC
82f8d969f581c4bd4a782565709466046d962d81
1 file changed
+1
compat/mingw.h
+1
@@ -161,3 +161,4 @@ int mingw_rename(const char*, const char*);
161
#define has_dos_drive_prefix(path) (isalpha(*(path)) && (path)[1] == ':')
162
#define is_dir_sep(c) ((c) == '/' || (c) == '\\')
163
#define PATH_SEP ';'
164
+#define PRIuMAX "I64u"