diff options
author | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2008-03-21 12:45:27 +0000 |
---|---|---|
committer | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2008-03-21 12:45:27 +0000 |
commit | cc4d68ec0149df46a150eaab7f8eabdeb2a5e8af (patch) | |
tree | 15da0c7f3e42e09f58966c69fb6df9507e7e3f54 /winsup/mingw/include | |
parent | 3656a6073cbd38f7dd8edb6d70d5685de00fd089 (diff) | |
download | cygnal-cc4d68ec0149df46a150eaab7f8eabdeb2a5e8af.tar.gz cygnal-cc4d68ec0149df46a150eaab7f8eabdeb2a5e8af.tar.bz2 cygnal-cc4d68ec0149df46a150eaab7f8eabdeb2a5e8af.zip |
2008-01-19 Danny Smith <dannysmithusers.sourceforge.net
* inclue/wchar.h (fwide): Add prototype and guard inline definition.
(mbsinit): Likewise.
Diffstat (limited to 'winsup/mingw/include')
-rw-r--r-- | winsup/mingw/include/wchar.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/winsup/mingw/include/wchar.h b/winsup/mingw/include/wchar.h index 007994669..0dff3c181 100644 --- a/winsup/mingw/include/wchar.h +++ b/winsup/mingw/include/wchar.h @@ -287,11 +287,15 @@ size_t __cdecl __MINGW_NOTHROW wcsrtombs(char * __restrict__, const wchar_t ** _ int __cdecl __MINGW_NOTHROW wctob(wint_t); #ifndef __NO_ISOCEXT /* these need static lib libmingwex.a */ +int __cdecl __MINGW_NOTHROW fwide(FILE*, int); +int __cdecl __MINGW_NOTHROW mbsinit(const mbstate_t*); +#ifndef __NO_INLINE__ __CRT_INLINE int __cdecl __MINGW_NOTHROW fwide(FILE* __UNUSED_PARAM(stream), int __UNUSED_PARAM(mode)) {return -1;} /* limited to byte orientation */ __CRT_INLINE int __cdecl __MINGW_NOTHROW mbsinit(const mbstate_t* __UNUSED_PARAM(ps)) {return 1;} +#endif wchar_t* __cdecl __MINGW_NOTHROW wmemset(wchar_t *, wchar_t, size_t); wchar_t* __cdecl __MINGW_NOTHROW wmemchr(const wchar_t*, wchar_t, size_t); int wmemcmp(const wchar_t*, const wchar_t *, size_t); |