Fixed compilation for non-i386.
[wine/multimedia.git] / include / msvcrt / wchar.h
blob1dfb4d05651dfe2d523626fc555527538eedf3f3
1 /*
2 * Unicode definitions
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.
7 */
8 #ifndef __WINE_WCHAR_H
9 #define __WINE_WCHAR_H
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"
24 #define WCHAR_MIN 0
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
32 #endif
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
39 WCHAR btowc(int);
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));
47 #ifdef __cplusplus
49 #endif
51 #endif /* __WINE_WCHAR_H */