ntoskrnl.exe: Don't use strcasecmp.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Piotr Caban 2019-04-02 16:51:36 +02:00 committed by Alexandre Julliard
parent fab4b11bc2
commit 5e80774131
1 changed files with 2 additions and 2 deletions

View File

@ -4101,7 +4101,7 @@ void * __cdecl NTOSKRNL_memset( void *dst, int c, size_t n )
*/
int __cdecl NTOSKRNL__stricmp( LPCSTR str1, LPCSTR str2 )
{
return strcasecmp( str1, str2 );
return _strnicmp( str1, str2, -1 );
}
/*********************************************************************
@ -4109,7 +4109,7 @@ int __cdecl NTOSKRNL__stricmp( LPCSTR str1, LPCSTR str2 )
*/
int __cdecl NTOSKRNL__strnicmp( LPCSTR str1, LPCSTR str2, size_t n )
{
return strncasecmp( str1, str2, n );
return _strnicmp( str1, str2, n );
}
/*********************************************************************