From 537a336b3f15b2e5bd0fe844071cedded83560a1 Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Sat, 29 Dec 2007 05:32:16 +0000 Subject: [PATCH] error_constants.h (enum posix_errno): Move inside namespace posix_error * config/os/mingw32/error_constants.h (enum posix_errno): Move inside namespace posix_error From-SVN: r131218 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/config/os/mingw32/error_constants.h | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index f9fbeeeb77a..6f310efbeeb 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2007-12-29 Danny Smith + + * config/os/mingw32/error_constants.h (enum posix_errno): Move + inside namespace posix_error +. 2007-12-27 Paolo Carlini PR libstdc++/34538 diff --git a/libstdc++-v3/config/os/mingw32/error_constants.h b/libstdc++-v3/config/os/mingw32/error_constants.h index 85d9273582f..baba5c325cf 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