mirror of
https://github.com/reactos/reactos.git
synced 2024-10-31 03:48:17 +00:00
840dfdc3a1
Fixes crash in msvcrt_winetest::string
15 lines
277 B
C
15 lines
277 B
C
#include <mbstring.h>
|
|
#include <string.h>
|
|
#include <precomp.h>
|
|
|
|
/*
|
|
* @implemented
|
|
*/
|
|
int _mbscmp(const unsigned char *str1, const unsigned char *str2)
|
|
{
|
|
if (!MSVCRT_CHECK_PMT(str1 && str2))
|
|
return _NLSCMPERROR;
|
|
|
|
return strcmp((const char*)str1, (char*)str2);
|
|
}
|