summaryrefslogtreecommitdiffstats
path: root/src/deps_log.h
diff options
context:
space:
mode:
authorJan Niklas Hasse <jhasse@bixense.com>2019-12-20 14:49:57 (GMT)
committerJan Niklas Hasse <jhasse@bixense.com>2019-12-23 13:11:09 (GMT)
commit791c887e22046e5e7a2d05ecb5ff27701d56895d (patch)
treee151d2c56fbabee588a7c8b3d4a177752ba76d38 /src/deps_log.h
parent8f87ee0469820d247fa20971c07dbad5f2aa744e (diff)
downloadNinja-791c887e22046e5e7a2d05ecb5ff27701d56895d.zip
Ninja-791c887e22046e5e7a2d05ecb5ff27701d56895d.tar.gz
Ninja-791c887e22046e5e7a2d05ecb5ff27701d56895d.tar.bz2
Ignore nonexistent .ninja_log/.ninja_deps for restat and recompact
Diffstat (limited to 'src/deps_log.h')
-rw-r--r--src/deps_log.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/deps_log.h b/src/deps_log.h
index 3812a28..e7974a1 100644
--- a/src/deps_log.h
+++ b/src/deps_log.h
@@ -21,6 +21,7 @@ using namespace std;
#include <stdio.h>
+#include "load_status.h"
#include "timestamp.h"
struct Node;
@@ -84,7 +85,7 @@ struct DepsLog {
int node_count;
Node** nodes;
};
- bool Load(const string& path, State* state, string* err);
+ LoadStatus Load(const string& path, State* state, string* err);
Deps* GetDeps(Node* node);
/// Rewrite the known log entries, throwing away old data.