Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Use off_t when we really mean a file offset.
[gitweb.git]
/
git-compat-util.h
diff --git
a/git-compat-util.h
b/git-compat-util.h
index 56212b2f115d0ef738c5835c42d7bf241db4576a..33b68e463cb17b99de23b731ff47d40d7959c93e 100644
(file)
--- a/
git-compat-util.h
+++ b/
git-compat-util.h
@@
-70,6
+70,10
@@
#define PATH_MAX 4096
#endif
+#ifndef PRIuMAX
+#define PRIuMAX "llu"
+#endif
+
#ifdef __GNUC__
#define NORETURN __attribute__((__noreturn__))
#else