mirror of
https://git.code.sf.net/p/mingw-w64/mingw-w64
synced 2024-11-24 02:14:43 +08:00
2009-09-18 Ozkan Sezer <sezeroz@gmail.com>
* wctype.h: Added the missing __cplusplus guard around wchar_t typedef. git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@1383 4407c894-4637-0410-b4f5-ada5f102cad1
This commit is contained in:
parent
e58058ada2
commit
447fc4531d
@ -4,6 +4,8 @@
|
||||
__MINGW_EXTENSION macro is in effect, remove the gcc-specific typedefs
|
||||
using machine modes for strict ansi cases and 64 bit scalars.
|
||||
|
||||
* wctype.h: Added the missing __cplusplus guard around wchar_t typedef.
|
||||
|
||||
2009-09-18 Kai Tietz <kai.tietz@onevision.com>
|
||||
|
||||
* Implement time_t related functions by stubs in libmingwex.a and do
|
||||
|
@ -23,15 +23,17 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef _WCHAR_T_DEFINED
|
||||
typedef unsigned short wchar_t;
|
||||
#define _WCHAR_T_DEFINED
|
||||
#endif
|
||||
#ifndef __cplusplus
|
||||
typedef unsigned short wchar_t;
|
||||
#endif /* C++ */
|
||||
#endif /* _WCHAR_T_DEFINED */
|
||||
|
||||
#ifndef _WCTYPE_T_DEFINED
|
||||
#define _WCTYPE_T_DEFINED
|
||||
typedef unsigned short wint_t;
|
||||
typedef unsigned short wctype_t;
|
||||
#define _WCTYPE_T_DEFINED
|
||||
#endif
|
||||
#endif /* _WCTYPE_T_DEFINED */
|
||||
|
||||
#ifndef WEOF
|
||||
#define WEOF (wint_t)(0xFFFF)
|
||||
|
Loading…
Reference in New Issue
Block a user