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>
|
2002-07-02 Benjamin Kosnik <bkoz@redhat.com>
|
||||||
|
|
||||||
PR libstdc++/6410
|
PR libstdc++/6410
|
||||||
|
@ -47,6 +47,8 @@
|
|||||||
// 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
|
||||||
|
namespace std
|
||||||
|
{
|
||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
typedef struct
|
typedef struct
|
||||||
@ -54,11 +56,7 @@ extern "C"
|
|||||||
int __fill[6];
|
int __fill[6];
|
||||||
} mbstate_t;
|
} mbstate_t;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace std
|
|
||||||
{
|
|
||||||
using ::mbstate_t;
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user