It's now allowed to use wchar_t - it doesn't hurt anymore :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8968 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
#include <bits/types.h>
|
#include <bits/types.h>
|
||||||
|
|
||||||
#define _GLIBCPP_USE_THREADS
|
#define _GLIBCPP_USE_THREADS
|
||||||
//#define _GLIBCPP_USE_WCHAR_T
|
#define _GLIBCPP_USE_WCHAR_T
|
||||||
|
|
||||||
#define _IO_MTSAFE_IO
|
#define _IO_MTSAFE_IO
|
||||||
|
|
||||||
@@ -41,13 +41,13 @@ typedef unsigned int wint_t;
|
|||||||
not glibc) */
|
not glibc) */
|
||||||
#ifndef __c_mbstate_t_defined
|
#ifndef __c_mbstate_t_defined
|
||||||
# define __c_mbstate_t_defined 1
|
# define __c_mbstate_t_defined 1
|
||||||
/*# ifdef _GLIBCPP_USE_WCHAR_T*/
|
# ifdef _GLIBCPP_USE_WCHAR_T
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
int count;
|
int count;
|
||||||
wint_t value;
|
wint_t value;
|
||||||
} __c_mbstate_t;
|
} __c_mbstate_t;
|
||||||
/*# endif*/
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#undef __need_mbstate_t
|
#undef __need_mbstate_t
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user