summaryrefslogtreecommitdiffstats
path: root/src/manifest_parser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/manifest_parser.cc')
-rw-r--r--src/manifest_parser.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/manifest_parser.cc b/src/manifest_parser.cc
index 20be7f3..17584dd 100644
--- a/src/manifest_parser.cc
+++ b/src/manifest_parser.cc
@@ -316,6 +316,10 @@ bool ManifestParser::ParseEdge(string* err) {
Pool* pool = state_->LookupPool(pool_name);
if (pool == NULL)
return lexer_.Error("unknown pool name '" + pool_name + "'", err);
+#ifdef _WIN32
+ if (pool == &State::kConsolePool)
+ return lexer_.Error("console pool unsupported on Windows", err);
+#endif
edge->pool_ = pool;
}