4 * Derived from the mingw header written by Colin Peters.
5 * Modified for Wine use by Jon Griffiths and Francois Gouget.
6 * This file is in the public domain.
10 #define __WINE_USE_MSVCRT
12 #include "msvcrt/io.h"
13 #include "msvcrt/locale.h"
14 #include "msvcrt/process.h"
15 #include "msvcrt/stdio.h"
16 #include "msvcrt/stdlib.h"
17 #include "msvcrt/string.h"
18 #include "msvcrt/sys/stat.h"
19 #include "msvcrt/sys/types.h"
20 #include "msvcrt/time.h"
21 #include "msvcrt/wctype.h"
25 #define WCHAR_MAX ((WCHAR)-1)
27 typedef int MSVCRT(mbstate_t);
29 #ifndef MSVCRT_SIZE_T_DEFINED
30 typedef unsigned int MSVCRT(size_t);
31 #define MSVCRT_SIZE_T_DEFINED
40 MSVCRT(size_t) mbrlen(const char *,MSVCRT(size_t),MSVCRT(mbstate_t)*);
41 MSVCRT(size_t) mbrtowc(WCHAR*,const char*,MSVCRT(size_t),MSVCRT(mbstate_t)*);
42 MSVCRT(size_t) mbsrtowcs(WCHAR*,const char**,MSVCRT(size_t),MSVCRT(mbstate_t)*);
43 MSVCRT(size_t) wcrtomb(char*,WCHAR,MSVCRT(mbstate_t)*);
44 MSVCRT(size_t) wcsrtombs(char*,const WCHAR**,MSVCRT(size_t),MSVCRT(mbstate_t)*);
45 int wctob(MSVCRT(wint_t));
51 #endif /* __WINE_WCHAR_H */