2002-10-23 22:47:12 +04:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2002 Marcus Overhagen
|
|
|
|
* All rights reserved.
|
|
|
|
*
|
|
|
|
* Distributed under the terms of the MIT license
|
|
|
|
*/
|
|
|
|
#ifndef _WCHAR_T_H
|
|
|
|
#define _WCHAR_T_H
|
|
|
|
|
2004-06-23 19:17:06 +04:00
|
|
|
#if !defined(__cplusplus) || __GNUC__ < 3
|
2002-10-23 22:47:12 +04:00
|
|
|
typedef unsigned short wchar_t;
|
2004-06-23 19:17:06 +04:00
|
|
|
#endif
|
2002-10-23 22:47:12 +04:00
|
|
|
|
2003-04-19 21:35:55 +04:00
|
|
|
#define _WINT_T
|
|
|
|
typedef unsigned int wint_t;
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
int __count;
|
|
|
|
wint_t __value;
|
|
|
|
} mbstate_t;
|
|
|
|
|
|
|
|
#endif /* _WCHAR_T_H */
|
|
|
|
|