msvcrt: Added _wcsicmp_l implementation.
This commit is contained in:
parent
031c4e2d0e
commit
c66d94bfd9
|
@ -1484,7 +1484,7 @@
|
|||
@ cdecl _wcserror_s(ptr long long) msvcrt._wcserror_s
|
||||
@ stub _wcsftime_l
|
||||
@ cdecl _wcsicmp(wstr wstr) msvcrt._wcsicmp
|
||||
@ stub _wcsicmp_l
|
||||
@ cdecl _wcsicmp_l(wstr wstr ptr) msvcrt._wcsicmp_l
|
||||
@ cdecl _wcsicoll(wstr wstr) msvcrt._wcsicoll
|
||||
@ cdecl _wcsicoll_l(wstr wstr ptr) msvcrt._wcsicoll_l
|
||||
@ cdecl _wcslwr(wstr) msvcrt._wcslwr
|
||||
|
|
|
@ -1847,7 +1847,7 @@
|
|||
@ cdecl _wcserror_s(ptr long long) msvcrt._wcserror_s
|
||||
@ stub _wcsftime_l
|
||||
@ cdecl _wcsicmp(wstr wstr) msvcrt._wcsicmp
|
||||
@ stub _wcsicmp_l
|
||||
@ cdecl _wcsicmp_l(wstr wstr ptr) msvcrt._wcsicmp_l
|
||||
@ cdecl _wcsicoll(wstr wstr) msvcrt._wcsicoll
|
||||
@ cdecl _wcsicoll_l(wstr wstr ptr) msvcrt._wcsicoll_l
|
||||
@ cdecl _wcslwr(wstr) msvcrt._wcslwr
|
||||
|
|
|
@ -1162,7 +1162,7 @@
|
|||
@ cdecl _wcserror_s(ptr long long) msvcrt._wcserror_s
|
||||
@ stub _wcsftime_l
|
||||
@ cdecl _wcsicmp(wstr wstr) msvcrt._wcsicmp
|
||||
@ stub _wcsicmp_l
|
||||
@ cdecl _wcsicmp_l(wstr wstr ptr) msvcrt._wcsicmp_l
|
||||
@ cdecl _wcsicoll(wstr wstr) msvcrt._wcsicoll
|
||||
@ cdecl _wcsicoll_l(wstr wstr ptr) msvcrt._wcsicoll_l
|
||||
@ cdecl _wcslwr(wstr) msvcrt._wcslwr
|
||||
|
|
|
@ -1138,7 +1138,7 @@
|
|||
@ cdecl _wcserror_s(ptr long long) msvcrt._wcserror_s
|
||||
@ stub _wcsftime_l
|
||||
@ cdecl _wcsicmp(wstr wstr) msvcrt._wcsicmp
|
||||
@ stub _wcsicmp_l
|
||||
@ cdecl _wcsicmp_l(wstr wstr ptr) msvcrt._wcsicmp_l
|
||||
@ cdecl _wcsicoll(wstr wstr) msvcrt._wcsicoll
|
||||
@ cdecl _wcsicoll_l(wstr wstr ptr) msvcrt._wcsicoll_l
|
||||
@ cdecl _wcslwr(wstr) msvcrt._wcslwr
|
||||
|
|
|
@ -1102,7 +1102,7 @@
|
|||
@ cdecl _wcserror_s(ptr long long)
|
||||
# stub _wcsftime_l(ptr long wstr ptr ptr)
|
||||
@ cdecl _wcsicmp(wstr wstr) MSVCRT__wcsicmp
|
||||
# stub _wcsicmp_l(wstr wstr ptr)
|
||||
@ cdecl _wcsicmp_l(wstr wstr ptr) MSVCRT__wcsicmp_l
|
||||
@ cdecl _wcsicoll(wstr wstr) MSVCRT__wcsicoll
|
||||
@ cdecl _wcsicoll_l(wstr wstr ptr) MSVCRT__wcsicoll_l
|
||||
@ cdecl _wcslwr(wstr) ntdll._wcslwr
|
||||
|
|
|
@ -69,6 +69,14 @@ MSVCRT_wchar_t* CDECL MSVCRT__wcsdup( const MSVCRT_wchar_t* str )
|
|||
return ret;
|
||||
}
|
||||
|
||||
INT CDECL MSVCRT__wcsicmp_l(const MSVCRT_wchar_t *str1, const MSVCRT_wchar_t *str2, MSVCRT__locale_t locale)
|
||||
{
|
||||
if(!MSVCRT_CHECK_PMT(str1 != NULL) || !MSVCRT_CHECK_PMT(str2 != NULL))
|
||||
return MSVCRT__NLSCMPERROR;
|
||||
|
||||
return strcmpiW(str1, str2);
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* _wcsicmp (MSVCRT.@)
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue