Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
lock_packed_refs(): take a `packed_ref_store *` parameter
[gitweb.git]
/
git-compat-util.h
diff --git
a/git-compat-util.h
b/git-compat-util.h
index bb4537c0ba0631f94fa1e57c6c5877949e50d750..ab7552a7ce2e292df2875258fef6f8bd0438e115 100644
(file)
--- a/
git-compat-util.h
+++ b/
git-compat-util.h
@@
-319,6
+319,11
@@
extern char *gitdirname(char *);
#define PRIo32 "o"
#endif
+typedef uintmax_t timestamp_t;
+#define PRItime PRIuMAX
+#define parse_timestamp strtoumax
+#define TIME_MAX UINTMAX_MAX
+
#ifndef PATH_SEP
#define PATH_SEP ':'
#endif