summaryrefslogtreecommitdiffstats
path: root/src/ninja.cc
diff options
context:
space:
mode:
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;
}