Commit 26d50d6e authored by Alexandre Julliard's avatar Alexandre Julliard

msvcrt: Don't include mbstring.h to avoid conflicts with system headers.

parent f3e13174
......@@ -27,7 +27,6 @@
#include "wine/unicode.h"
#include "wine/debug.h"
#include "msvcrt/mbctype.h"
#include "msvcrt/mbstring.h"
WINE_DEFAULT_DEBUG_CHANNEL(msvcrt);
......@@ -332,6 +331,14 @@ unsigned char* CDECL _mbsdec(const unsigned char* start, const unsigned char* cu
}
/*********************************************************************
* _mbclen(MSVCRT.@)
*/
unsigned int CDECL _mbclen(const unsigned char* str)
{
return _ismbblead(*str) ? 2 : 1;
}
/*********************************************************************
* _mbsinc(MSVCRT.@)
*/
unsigned char* CDECL _mbsinc(const unsigned char* str)
......@@ -363,14 +370,6 @@ unsigned char* CDECL _mbsninc(const unsigned char* str, MSVCRT_size_t num)
}
/*********************************************************************
* _mbclen(MSVCRT.@)
*/
unsigned int CDECL _mbclen(const unsigned char* str)
{
return _ismbblead(*str) ? 2 : 1;
}
/*********************************************************************
* _mbslen(MSVCRT.@)
*/
MSVCRT_size_t CDECL _mbslen(const unsigned char* str)
......
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