summaryrefslogtreecommitdiffstats
path: root/src/build_log.h
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2012-01-05 17:24:30 (GMT)
committerEvan Martin <martine@danga.com>2012-01-05 17:24:30 (GMT)
commit499d3e9ea1776e5f59ef722bc82188f46fce3a9d (patch)
tree5447d244788b4bf50290de14b8d07d020360dd1a /src/build_log.h
parentdc3ffcdd4c840a697cdbc71f2c0121908977af9a (diff)
downloadNinja-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.h5
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) {