projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a42a0c2
)
Windows: Fix PRIuMAX definition.
author
Johannes Sixt
<johannes.sixt@telecom.at>
Fri, 23 Mar 2007 09:57:05 +0000
(10:57 +0100)
committer
Johannes Sixt
<johannes.sixt@telecom.at>
Mon, 23 Jun 2008 11:40:30 +0000
(13:40 +0200)
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>
compat/mingw.h
patch
|
blob
|
history
diff --git
a/compat/mingw.h
b/compat/mingw.h
index 46fd8da06e75484e8f5414bfb85b99cecd82236a..fad855ef99549d0ee36f9272cbaa76419d8058b6 100644
(file)
--- a/
compat/mingw.h
+++ b/
compat/mingw.h
@@
-161,3
+161,4
@@
int mingw_rename(const char*, const char*);
#define has_dos_drive_prefix(path) (isalpha(*(path)) && (path)[1] == ':')
#define is_dir_sep(c) ((c) == '/' || (c) == '\\')
#define PATH_SEP ';'
+#define PRIuMAX "I64u"