mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 902587 - Use proper compare function on mingw.
This commit is contained in:
parent
8de6e62cec
commit
0f44098ce8
@ -381,7 +381,7 @@ void TelemetryIOInterposeObserver::Observe(Observation& aOb)
|
||||
for (uint32_t i = 0; i < safeDirsLen; ++i) {
|
||||
uint32_t curSafeDirLen = mSafeDirs[i].Length();
|
||||
if (curSafeDirLen <= filenameStrLen) {
|
||||
#if defined(XP_WIN)
|
||||
#if defined(_MSC_VER)
|
||||
if (!_wcsnicmp(filename, mSafeDirs[i].get(), curSafeDirLen)) {
|
||||
#else
|
||||
if (!std::char_traits<char16_t>::compare(filename, mSafeDirs[i].get(),
|
||||
|
Loading…
Reference in New Issue
Block a user