Commit fcad420e by Benjamin Kosnik Committed by Benjamin Kosnik

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
parent c7375e61
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> 2002-07-02 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/6410 PR libstdc++/6410
......
...@@ -47,18 +47,16 @@ ...@@ -47,18 +47,16 @@
// Need to do a bit of trickery here with mbstate_t as char_traits // 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. // assumes it is in wchar.h, regardless of wchar_t specializations.
#ifndef _GLIBCPP_HAVE_MBSTATE_T #ifndef _GLIBCPP_HAVE_MBSTATE_T
extern "C" namespace std
{ {
typedef struct extern "C"
{ {
int __fill[6]; typedef struct
} mbstate_t; {
int __fill[6];
} mbstate_t;
}
} }
#endif #endif
namespace std
{
using ::mbstate_t;
}
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment