aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/config/os/mingw32/error_constants.h4
2 files changed, 8 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index f9fbeee..6f310ef 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2007-12-29 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * config/os/mingw32/error_constants.h (enum posix_errno): Move
+ inside namespace posix_error
+.
2007-12-27 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/34538
diff --git a/libstdc++-v3/config/os/mingw32/error_constants.h b/libstdc++-v3/config/os/mingw32/error_constants.h
index 85d9273..baba5c3 100644
--- a/libstdc++-v3/config/os/mingw32/error_constants.h
+++ b/libstdc++-v3/config/os/mingw32/error_constants.h
@@ -41,8 +41,9 @@
_GLIBCXX_BEGIN_NAMESPACE(std)
+namespace posix_error {
// Most of the commented-out error codes are socket-related and could be
-// replaced bu Winsock WSA-prefixed equivalents.
+// replaced bu Winsock WSA-prefixed equivalents.
enum posix_errno
{
// address_family_not_supported = EAFNOSUPPORT,
@@ -125,6 +126,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
// wrong_protocol_type = EPROTOTYPE,
no_posix_equivalent = 1L << 16
};
+}
_GLIBCXX_END_NAMESPACE