diff options
author | Evan Martin <martine@danga.com> | 2012-01-05 17:24:30 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2012-01-05 17:24:30 (GMT) |
commit | 499d3e9ea1776e5f59ef722bc82188f46fce3a9d (patch) | |
tree | 5447d244788b4bf50290de14b8d07d020360dd1a /src/build_log.h | |
parent | dc3ffcdd4c840a697cdbc71f2c0121908977af9a (diff) | |
download | Ninja-499d3e9ea1776e5f59ef722bc82188f46fce3a9d.zip Ninja-499d3e9ea1776e5f59ef722bc82188f46fce3a9d.tar.gz Ninja-499d3e9ea1776e5f59ef722bc82188f46fce3a9d.tar.bz2 |
convert all time_t to a new TimeStamp type
Diffstat (limited to 'src/build_log.h')
-rw-r--r-- | src/build_log.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/build_log.h b/src/build_log.h index 51cbe5e..3e27eee 100644 --- a/src/build_log.h +++ b/src/build_log.h @@ -20,6 +20,7 @@ using namespace std; #include "hash_map.h" +#include "timestamp.h" struct BuildConfig; struct Edge; @@ -39,7 +40,7 @@ struct BuildLog { void SetConfig(BuildConfig* config) { config_ = config; } bool OpenForWrite(const string& path, string* err); void RecordCommand(Edge* edge, int start_time, int end_time, - time_t restat_mtime = 0); + TimeStamp restat_mtime = 0); void Close(); /// Load the on-disk log. @@ -50,7 +51,7 @@ struct BuildLog { string command; int start_time; int end_time; - time_t restat_mtime; + TimeStamp restat_mtime; // Used by tests. bool operator==(const LogEntry& o) { |