summaryrefslogtreecommitdiffstats
path: root/src/graph.cc
diff options
context:
space:
mode:
authorMichael Jones <jonesmz@users.noreply.github.com>2019-11-14 03:15:55 (GMT)
committerGitHub <noreply@github.com>2019-11-14 03:15:55 (GMT)
commitcdf33d8b873f6a5faa07f602d7f8747943f0da9b (patch)
tree08ded33a689a5ef1d23ca7dd3dd85198cafd1b5b /src/graph.cc
parent3ef623acf15460c6256e1793c1d7206cb9399305 (diff)
downloadNinja-cdf33d8b873f6a5faa07f602d7f8747943f0da9b.zip
Ninja-cdf33d8b873f6a5faa07f602d7f8747943f0da9b.tar.gz
Ninja-cdf33d8b873f6a5faa07f602d7f8747943f0da9b.tar.bz2
Fix invalid preprocessor #if
Diffstat (limited to 'src/graph.cc')
-rw-r--r--src/graph.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graph.cc b/src/graph.cc
index facb76d..3214513 100644
--- a/src/graph.cc
+++ b/src/graph.cc
@@ -383,7 +383,7 @@ std::string EdgeEnv::MakePathList(const Node* const* const span,
result.push_back(sep);
const string& path = (*i)->PathDecanonicalized();
if (escape_in_out_ == kShellEscape) {
-#if _WIN32
+#ifdef _WIN32
GetWin32EscapedString(path, &result);
#else
GetShellEscapedString(path, &result);