summaryrefslogtreecommitdiffstats
path: root/src/ninja.cc
diff options
context:
space:
mode:
authorSergey Nenakhov <nenakhov.sergey@gmail.com>2011-04-23 21:16:23 (GMT)
committerEvan Martin <martine@danga.com>2011-04-23 21:16:23 (GMT)
commit04ef600a46b1d0fe3a22ff17dafe9fd2fc0efb7f (patch)
treec240c134d110de6ec2493245a3ffc505cd2f4fca /src/ninja.cc
parent95f32f86d06cb035133f1364d0efe948d80f8682 (diff)
downloadNinja-04ef600a46b1d0fe3a22ff17dafe9fd2fc0efb7f.zip
Ninja-04ef600a46b1d0fe3a22ff17dafe9fd2fc0efb7f.tar.gz
Ninja-04ef600a46b1d0fe3a22ff17dafe9fd2fc0efb7f.tar.bz2
[windows] disable browse tool on Windows for now
Diffstat (limited to 'src/ninja.cc')
-rw-r--r--src/ninja.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ninja.cc b/src/ninja.cc
index 0189b3e..5e26f6a 100644
--- a/src/ninja.cc
+++ b/src/ninja.cc
@@ -136,7 +136,11 @@ int CmdQuery(State* state, int argc, char* argv[]) {
}
int CmdBrowse(State* state, int argc, char* argv[]) {
+#ifndef WIN32
RunBrowsePython(state, argv[0]);
+#else
+ Error("browse mode not yet supported on Windows");
+#endif
// If we get here, the browse failed.
return 1;
}