summaryrefslogtreecommitdiff
path: root/libstdc++-v3/src/fstream-inst.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/src/fstream-inst.cc')
-rw-r--r--libstdc++-v3/src/fstream-inst.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/libstdc++-v3/src/fstream-inst.cc b/libstdc++-v3/src/fstream-inst.cc
index 761cbff3bc5..cd7a6cd4546 100644
--- a/libstdc++-v3/src/fstream-inst.cc
+++ b/libstdc++-v3/src/fstream-inst.cc
@@ -29,7 +29,9 @@
#include <fstream>
-_GLIBCXX_BEGIN_NAMESPACE(std)
+namespace std _GLIBCXX_VISIBILITY(default)
+{
+_GLIBCXX_BEGIN_NAMESPACE_VERSION
template class basic_filebuf<char, char_traits<char> >;
template class basic_ifstream<char>;
@@ -43,4 +45,5 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
template class basic_fstream<wchar_t>;
#endif
-_GLIBCXX_END_NAMESPACE
+_GLIBCXX_END_NAMESPACE_VERSION
+} // namespace