aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/c_std/std_cwctype.h
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/include/c_std/std_cwctype.h')
-rw-r--r--libstdc++-v3/include/c_std/std_cwctype.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/libstdc++-v3/include/c_std/std_cwctype.h b/libstdc++-v3/include/c_std/std_cwctype.h
index 9f297c42eed..ba699b75df0 100644
--- a/libstdc++-v3/include/c_std/std_cwctype.h
+++ b/libstdc++-v3/include/c_std/std_cwctype.h
@@ -76,8 +76,9 @@
#undef wctype
#if _GLIBCXX_USE_WCHAR_T
-namespace std
-{
+
+_GLIBCXX_BEGIN_NAMESPACE(std)
+
using ::wint_t; // cwchar
using ::wctype_t;
@@ -103,7 +104,9 @@ namespace std
using ::towupper;
using ::wctrans;
using ::wctype;
-}
+
+_GLIBCXX_END_NAMESPACE
+
#endif //_GLIBCXX_USE_WCHAR_T
#endif