diff options
author | Scott Graham <scottmg@chromium.org> | 2012-09-20 00:15:55 (GMT) |
---|---|---|
committer | Scott Graham <scottmg@chromium.org> | 2012-09-20 00:15:55 (GMT) |
commit | 21046b4a3e153754ab8f632c0b65ec1c61f7b828 (patch) | |
tree | ad3dc3b0af97b76c42579533f966b6f8fb783aa8 /src/msvc_helper_main-win32.cc | |
parent | e6c8bd91c22b64374aa7a1c84ae0a462f4fe2896 (diff) | |
download | Ninja-21046b4a3e153754ab8f632c0b65ec1c61f7b828.zip Ninja-21046b4a3e153754ab8f632c0b65ec1c61f7b828.tar.gz Ninja-21046b4a3e153754ab8f632c0b65ec1c61f7b828.tar.bz2 |
fix spaces in headers for -t msvc
Diffstat (limited to 'src/msvc_helper_main-win32.cc')
-rw-r--r-- | src/msvc_helper_main-win32.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/msvc_helper_main-win32.cc b/src/msvc_helper_main-win32.cc index ed7674c..5e28e6d 100644 --- a/src/msvc_helper_main-win32.cc +++ b/src/msvc_helper_main-win32.cc @@ -105,8 +105,8 @@ int MSVCHelperMain(int argc, char** argv) { Fatal("opening %s: %s", depfile.c_str(), GetLastErrorString().c_str()); } fprintf(output, "%s: ", output_filename); - for (set<string>::iterator i = cl.includes_.begin(); - i != cl.includes_.end(); ++i) { + vector<string> headers = cl.GetEscapedResult(); + for (vector<string>::iterator i = headers.begin(); i != headers.end(); ++i) { fprintf(output, "%s\n", i->c_str()); } fclose(output); |