Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
timestamp_t: a new data type for timestamps
[gitweb.git]
/
git-compat-util.h
diff --git
a/git-compat-util.h
b/git-compat-util.h
index cd522903eda51b3d829087bbdd8f9c60b469c39e..72c12173a1488981fee6c93912a3705fc363d94a 100644
(file)
--- a/
git-compat-util.h
+++ b/
git-compat-util.h
@@
-319,8
+319,10
@@
extern char *gitdirname(char *);
#define PRIo32 "o"
#endif
+typedef unsigned long timestamp_t;
#define PRItime "lu"
#define parse_timestamp strtoul
+#define TIME_MAX ULONG_MAX
#ifndef PATH_SEP
#define PATH_SEP ':'