Commit b051bace authored by Andreas Schuh's avatar Andreas Schuh

fix: Build with _UNICODE support on Windows

parent 7e709881
...@@ -1341,8 +1341,8 @@ string CommandLineFlagParser::ProcessOptionsFromStringLocked( ...@@ -1341,8 +1341,8 @@ string CommandLineFlagParser::ProcessOptionsFromStringLocked(
|| fnmatch(glob.c_str(), ProgramInvocationName(), FNM_PATHNAME) == 0 || fnmatch(glob.c_str(), ProgramInvocationName(), FNM_PATHNAME) == 0
|| fnmatch(glob.c_str(), ProgramInvocationShortName(), FNM_PATHNAME) == 0 || fnmatch(glob.c_str(), ProgramInvocationShortName(), FNM_PATHNAME) == 0
#elif defined(HAVE_SHLWAPI_H) #elif defined(HAVE_SHLWAPI_H)
|| PathMatchSpec(glob.c_str(), ProgramInvocationName()) || PathMatchSpecA(glob.c_str(), ProgramInvocationName())
|| PathMatchSpec(glob.c_str(), ProgramInvocationShortName()) || PathMatchSpecA(glob.c_str(), ProgramInvocationShortName())
#endif #endif
) { ) {
flags_are_relevant = true; flags_are_relevant = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment