summaryrefslogtreecommitdiffstats
path: root/src/msvc_helper-win32.cc
diff options
context:
space:
mode:
authorScott Graham <scottmg@chromium.org>2015-06-09 17:15:11 (GMT)
committerScott Graham <scottmg@chromium.org>2015-06-09 17:15:11 (GMT)
commit32774e9ba88a3d4e3decdad0fa01620cb16d6300 (patch)
treee0fbc3189bd06500b20f33b505500cfdbd2adf7e /src/msvc_helper-win32.cc
parent1493c6a0b0f779294b870ae8ee4a8515087ac64e (diff)
downloadNinja-32774e9ba88a3d4e3decdad0fa01620cb16d6300.zip
Ninja-32774e9ba88a3d4e3decdad0fa01620cb16d6300.tar.gz
Ninja-32774e9ba88a3d4e3decdad0fa01620cb16d6300.tar.bz2
don't abort()
Diffstat (limited to 'src/msvc_helper-win32.cc')
-rw-r--r--src/msvc_helper-win32.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/msvc_helper-win32.cc b/src/msvc_helper-win32.cc
index 4b22c7a..f875633 100644
--- a/src/msvc_helper-win32.cc
+++ b/src/msvc_helper-win32.cc
@@ -98,9 +98,9 @@ string CLParser::Parse(const string& output, const string& deps_prefix) {
string normalized;
string err;
if (!IncludesNormalize::Normalize(include, NULL, &normalized, &err)) {
- printf("failed to normalize path: %s: %s\n", include.c_str(),
- err.c_str());
- abort();
+ Error("failed to normalize path: %s: %s\n", include.c_str(),
+ err.c_str());
+ exit(1);
}
if (!IsSystemInclude(normalized))
includes_.insert(normalized);