summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/config/os/djgpp
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/config/os/djgpp')
-rw-r--r--libstdc++-v3/config/os/djgpp/ctype_base.h7
-rw-r--r--libstdc++-v3/config/os/djgpp/ctype_inline.h7
-rw-r--r--libstdc++-v3/config/os/djgpp/error_constants.h7
3 files changed, 15 insertions, 6 deletions
diff --git a/libstdc++-v3/config/os/djgpp/ctype_base.h b/libstdc++-v3/config/os/djgpp/ctype_base.h
index 9db1b1e249c..aa156f8dd39 100644
--- a/libstdc++-v3/config/os/djgpp/ctype_base.h
+++ b/libstdc++-v3/config/os/djgpp/ctype_base.h
@@ -26,7 +26,9 @@
// ISO C++ 14882: 22.1 Locales
//
-_GLIBCXX_BEGIN_NAMESPACE(std)
+namespace std _GLIBCXX_VISIBILITY(default)
+{
+_GLIBCXX_BEGIN_NAMESPACE_VERSION
/// @brief Base class for ctype.
struct ctype_base
@@ -51,4 +53,5 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
static const mask graph = __dj_ISALPHA | __dj_ISDIGIT | __dj_ISPUNCT; // Graphical
};
-_GLIBCXX_END_NAMESPACE
+_GLIBCXX_END_NAMESPACE_VERSION
+} // namespace
diff --git a/libstdc++-v3/config/os/djgpp/ctype_inline.h b/libstdc++-v3/config/os/djgpp/ctype_inline.h
index 7112c1bcc9c..217bbf8758a 100644
--- a/libstdc++-v3/config/os/djgpp/ctype_inline.h
+++ b/libstdc++-v3/config/os/djgpp/ctype_inline.h
@@ -35,7 +35,9 @@
// ctype bits to be inlined go here. Non-inlinable (ie virtual do_*)
// functions go in ctype.cc
-_GLIBCXX_BEGIN_NAMESPACE(std)
+namespace std _GLIBCXX_VISIBILITY(default)
+{
+_GLIBCXX_BEGIN_NAMESPACE_VERSION
bool
ctype<char>::
@@ -71,4 +73,5 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
return __low;
}
-_GLIBCXX_END_NAMESPACE
+_GLIBCXX_END_NAMESPACE_VERSION
+} // namespace
diff --git a/libstdc++-v3/config/os/djgpp/error_constants.h b/libstdc++-v3/config/os/djgpp/error_constants.h
index d3590180de8..4e87208d831 100644
--- a/libstdc++-v3/config/os/djgpp/error_constants.h
+++ b/libstdc++-v3/config/os/djgpp/error_constants.h
@@ -33,7 +33,9 @@
#include <bits/c++config.h>
#include <cerrno>
-_GLIBCXX_BEGIN_NAMESPACE(std)
+namespace std _GLIBCXX_VISIBILITY(default)
+{
+_GLIBCXX_BEGIN_NAMESPACE_VERSION
// Most of the commented-out error codes are socket-related and could be
// replaced by Winsock WSA-prefixed equivalents.
@@ -119,6 +121,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
// wrong_protocol_type = EPROTOTYPE
};
-_GLIBCXX_END_NAMESPACE
+_GLIBCXX_END_NAMESPACE_VERSION
+} // namespace
#endif
OpenPOWER on IntegriCloud