diff options
author | Gergely Nagy <ngg@ngg.hu> | 2017-10-31 13:10:07 (GMT) |
---|---|---|
committer | Gergely Nagy <ngg@ngg.hu> | 2017-10-31 13:10:07 (GMT) |
commit | 59849864592b421e0a8f993011e7e5c2ab27e77b (patch) | |
tree | 207b1887bb23b7052a4e6ca2f3e2df05040cb049 /src/msvc_helper_main-win32.cc | |
parent | e234a7bdb6c42f4539c0ab09b624f191287c2c10 (diff) | |
download | Ninja-59849864592b421e0a8f993011e7e5c2ab27e77b.zip Ninja-59849864592b421e0a8f993011e7e5c2ab27e77b.tar.gz Ninja-59849864592b421e0a8f993011e7e5c2ab27e77b.tar.bz2 |
Fix building on Windows in UNICODE mode
Diffstat (limited to 'src/msvc_helper_main-win32.cc')
-rw-r--r-- | src/msvc_helper_main-win32.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/msvc_helper_main-win32.cc b/src/msvc_helper_main-win32.cc index e419cd7..644b2a2 100644 --- a/src/msvc_helper_main-win32.cc +++ b/src/msvc_helper_main-win32.cc @@ -113,7 +113,7 @@ int MSVCHelperMain(int argc, char** argv) { PushPathIntoEnvironment(env); } - char* command = GetCommandLine(); + char* command = GetCommandLineA(); command = strstr(command, " -- "); if (!command) { Fatal("expected command line to end with \" -- command args\""); |