diff options
Diffstat (limited to 'src/modules/utils')
-rw-r--r-- | src/modules/utils/path.cpp | 2 | ||||
-rw-r--r-- | src/modules/utils/timezones.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/utils/path.cpp b/src/modules/utils/path.cpp index 54e75810e5..8fb4ed3e98 100644 --- a/src/modules/utils/path.cpp +++ b/src/modules/utils/path.cpp @@ -192,7 +192,7 @@ static __forceinline char *GetPathVarX(char *, int code) return makeFileName(szFullPath);
}
-static __forceinline int _xcscmp(const TCHAR *s1, const TCHAR *s2) { return _tcscmp(s1, s2); }
+static __forceinline int _xcscmp(const TCHAR *s1, const TCHAR *s2) { return mir_tstrcmp(s1, s2); }
static __forceinline int _xcsncmp(const TCHAR *s1, const TCHAR *s2, size_t n) { return _tcsncmp(s1, s2, n); }
static __forceinline size_t _xcslen(const TCHAR *s1) { return mir_tstrlen(s1); }
static __forceinline TCHAR *_xcscpy(TCHAR *s1, const TCHAR *s2) { return _tcscpy(s1, s2); }
diff --git a/src/modules/utils/timezones.cpp b/src/modules/utils/timezones.cpp index 9c7d3804ab..aa993d73cd 100644 --- a/src/modules/utils/timezones.cpp +++ b/src/modules/utils/timezones.cpp @@ -150,7 +150,7 @@ static HANDLE timeapiGetInfoByName(LPCTSTR tszName, DWORD dwFlags) if (tszName == NULL)
return (dwFlags & (TZF_DIFONLY | TZF_KNOWNONLY)) ? NULL : &myInfo.myTZ;
- if (_tcscmp(myInfo.myTZ.tszName, tszName) == 0)
+ if (mir_tstrcmp(myInfo.myTZ.tszName, tszName) == 0)
return (dwFlags & TZF_DIFONLY) ? NULL : &myInfo.myTZ;
MIM_TIMEZONE tzsearch;
|