summaryrefslogtreecommitdiffstats
path: root/src/timestamp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/timestamp.h')
-rw-r--r--src/timestamp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/timestamp.h b/src/timestamp.h
index cee7ba8..58ae148 100644
--- a/src/timestamp.h
+++ b/src/timestamp.h
@@ -17,8 +17,8 @@
// When considering file modification times we only care to compare
// them against one another -- we never convert them to an absolute
-// real time. On POSIX we use time_t (seconds since epoch) and on
-// Windows we use a different value. Both fit in an int.
-typedef int TimeStamp;
+// real time. On POSIX we use timespec (seconds&nanoseconds since epoch)
+// and on Windows we use a different value. Both fit in an int64.
+typedef int64_t TimeStamp;
#endif // NINJA_TIMESTAMP_H_