re PR libstdc++/7097 (_GLIBCPP_HAVE_MBSTATE_T breaks non-GLIB systems)
2002-07-03 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/7097 * include/c/std_cwchar.h: Fix. From-SVN: r55216
This commit is contained in:
parent
c7375e612b
commit
fcad420e8f
@ -1,3 +1,8 @@
|
||||
2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
|
||||
|
||||
PR libstdc++/7097
|
||||
* include/c/std_cwchar.h: Fix.
|
||||
|
||||
2002-07-02 Benjamin Kosnik <bkoz@redhat.com>
|
||||
|
||||
PR libstdc++/6410
|
||||
|
@ -47,18 +47,16 @@
|
||||
// Need to do a bit of trickery here with mbstate_t as char_traits
|
||||
// assumes it is in wchar.h, regardless of wchar_t specializations.
|
||||
#ifndef _GLIBCPP_HAVE_MBSTATE_T
|
||||
extern "C"
|
||||
namespace std
|
||||
{
|
||||
typedef struct
|
||||
extern "C"
|
||||
{
|
||||
int __fill[6];
|
||||
} mbstate_t;
|
||||
typedef struct
|
||||
{
|
||||
int __fill[6];
|
||||
} mbstate_t;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
namespace std
|
||||
{
|
||||
using ::mbstate_t;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user