summaryrefslogtreecommitdiffstats
path: root/src/manifest_parser.cc
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2014-04-17 18:46:21 (GMT)
committerNico Weber <nicolasweber@gmx.de>2014-04-17 18:46:21 (GMT)
commit8fe13f5dabfc5e1581d2fc82fd7f535bdd70ce0c (patch)
tree6f1a3ff6f3c11ae3959c1fabffc68d4775bf90f3 /src/manifest_parser.cc
parentb121addcb6ac4a0e826b0c4270de9974222876ad (diff)
parent2832613dc7c1a4a8ff3b9df729954715762a8381 (diff)
downloadNinja-8fe13f5dabfc5e1581d2fc82fd7f535bdd70ce0c.zip
Ninja-8fe13f5dabfc5e1581d2fc82fd7f535bdd70ce0c.tar.gz
Ninja-8fe13f5dabfc5e1581d2fc82fd7f535bdd70ce0c.tar.bz2
Merge pull request #714 from pcc/console-pool
Introduce the "console" pool
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 6fa4f7c..a566eda 100644
--- a/src/manifest_parser.cc
+++ b/src/manifest_parser.cc
@@ -317,6 +317,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;
}