Adjust yet another version of mbstate_t in glibc:

* yuck, glibc uses yet another version of mbstate_t (__c_mbstate_t),
  adjusting this to match the other glibc-internal version (__mbstate_t)
  fixes another crash triggered by fwide_test.
This commit is contained in:
Oliver Tappe 2012-02-07 21:29:12 +01:00
parent 40135926f9
commit 99916f57cc

View File

@ -44,6 +44,10 @@ typedef unsigned int wint_t;
# ifdef _GLIBCPP_USE_WCHAR_T
typedef struct
{
void* __haiku_converter;
char __haiku_charset[64];
unsigned int __haiku_count;
char __haiku_data[1024 + 8]; // 1024 bytes for data, 8 for alignment space
int count;
wint_t value;
} __c_mbstate_t;