aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/c/std_cwchar.h
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/include/c/std_cwchar.h')
-rw-r--r--libstdc++-v3/include/c/std_cwchar.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/libstdc++-v3/include/c/std_cwchar.h b/libstdc++-v3/include/c/std_cwchar.h
index bad9923fa1e..d06f5e4efcd 100644
--- a/libstdc++-v3/include/c/std_cwchar.h
+++ b/libstdc++-v3/include/c/std_cwchar.h
@@ -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