Commit 5e807741 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

ntoskrnl.exe: Don't use strcasecmp.

parent fab4b11b
......@@ -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 );
}
/*********************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment