diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gflags.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gflags.cc b/src/gflags.cc index e0171fe..8f5aa0b 100644 --- a/src/gflags.cc +++ b/src/gflags.cc @@ -1341,8 +1341,8 @@ string CommandLineFlagParser::ProcessOptionsFromStringLocked( || fnmatch(glob.c_str(), ProgramInvocationName(), FNM_PATHNAME) == 0 || fnmatch(glob.c_str(), ProgramInvocationShortName(), FNM_PATHNAME) == 0 #elif defined(HAVE_SHLWAPI_H) - || PathMatchSpec(glob.c_str(), ProgramInvocationName()) - || PathMatchSpec(glob.c_str(), ProgramInvocationShortName()) + || PathMatchSpecA(glob.c_str(), ProgramInvocationName()) + || PathMatchSpecA(glob.c_str(), ProgramInvocationShortName()) #endif ) { flags_are_relevant = true; |