Commit 1fa8718b by Chris Fairles

error_constants.h (errc): Use long type.

2008-10-23  Chris Fairles  <cfairles@gcc.gnu.org>

        * config/os/generic/error_constants.h (errc): Use long type.
        * config/os/mingw32/error_constants.h (errc): Likewise.

From-SVN: r141324
parent c670b00d
2008-10-23 Chris Fairles <cfairles@gcc.gnu.org>
* config/os/generic/error_constants.h (errc): Use long type.
* config/os/mingw32/error_constants.h (errc): Likewise.
2008-10-22 Chris Fairles <cfairles@gcc.gnu.org> 2008-10-22 Chris Fairles <cfairles@gcc.gnu.org>
* include/std/system_error (is_error_code_enum): Specialize for errc. * include/std/system_error (is_error_code_enum): Specialize for errc.
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
_GLIBCXX_BEGIN_NAMESPACE(std) _GLIBCXX_BEGIN_NAMESPACE(std)
enum class errc enum class errc : long
{ {
address_family_not_supported = EAFNOSUPPORT, address_family_not_supported = EAFNOSUPPORT,
address_in_use = EADDRINUSE, address_in_use = EADDRINUSE,
......
...@@ -43,7 +43,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std) ...@@ -43,7 +43,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
// Most of the commented-out error codes are socket-related and could be // Most of the commented-out error codes are socket-related and could be
// replaced by Winsock WSA-prefixed equivalents. // replaced by Winsock WSA-prefixed equivalents.
enum class errc enum class errc : long
{ {
// address_family_not_supported = EAFNOSUPPORT, // address_family_not_supported = EAFNOSUPPORT,
// address_in_use = EADDRINUSE, // address_in_use = EADDRINUSE,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment