diff options
author | ktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-29 19:57:24 +0000 |
---|---|---|
committer | ktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-29 19:57:24 +0000 |
commit | db27024be83a18cee34e791acbc1020338274df5 (patch) | |
tree | 26b3aed8cf62cb5da657955ba954674ee5423bfe /libstdc++-v3/config/os | |
parent | 625b8e97f6f97078299969fab004d540a021716a (diff) | |
download | gcc-db27024be83a18cee34e791acbc1020338274df5.tar.gz |
* configure: Regenerated.
* config.h.in: Regenerated.
* acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR) Add
checks for ECHILD, ENOSPC, EPERM, ETIMEDOUT, and
EWOULDBLOCK.
* config/os/mingw32/error_constants.h (errc): Add
enumerator values no_child_process, no_space_on_device,
not_supported, operation_not_permitted, operation_would_block,
timed_out, and value_too_large,
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178257 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/config/os')
-rw-r--r-- | libstdc++-v3/config/os/mingw32/error_constants.h | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/libstdc++-v3/config/os/mingw32/error_constants.h b/libstdc++-v3/config/os/mingw32/error_constants.h index f2a9116ba9e..15f99671ff8 100644 --- a/libstdc++-v3/config/os/mingw32/error_constants.h +++ b/libstdc++-v3/config/os/mingw32/error_constants.h @@ -79,13 +79,17 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION // network_reset = ENETRESET, // network_unreachable = ENETUNREACH, // no_buffer_space = ENOBUFS, -// no_child_process = ECHILD, +#ifdef _GLIBCXX_HAVE_ECHILD + no_child_process = ECHILD, +#endif // no_link = ENOLINK, no_lock_available = ENOLCK, // no_message_available = ENODATA, // no_message = ENOMSG, // no_protocol_option = ENOPROTOOPT, -// no_space_on_device = ENOSPC, +#ifdef _GLIBCXX_HAVE_ENOSPC + no_space_on_device = ENOSPC, +#endif // no_stream_resources = ENOSR, no_such_device_or_address = ENXIO, no_such_device = ENODEV, @@ -96,12 +100,18 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION // not_a_stream = ENOSTR, // not_connected = ENOTCONN, not_enough_memory = ENOMEM, -// not_supported = ENOTSUP, +#ifdef _GLIBCXX_HAVE_ENOTSUP + not_supported = ENOTSUP, +#endif // operation_canceled = ECANCELED, // operation_in_progress = EINPROGRESS, -// operation_not_permitted = EPERM, +#ifdef _GLIBCXX_HAVE_EPERM + operation_not_permitted = EPERM, +#endif // operation_not_supported = EOPNOTSUPP, -// operation_would_block = EWOULDBLOCK, +#ifdef _GLIBCXX_HAVE_EWOULDBLOCK + operation_would_block = EWOULDBLOCK, +#endif // owner_dead = EOWNERDEAD, permission_denied = EACCES, // protocol_error = EPROTO, @@ -113,12 +123,16 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION // state_not_recoverable = ENOTRECOVERABLE, // stream_timeout = ETIME, // text_file_busy = ETXTBSY, -// timed_out = ETIMEDOUT, +#ifdef _GLIBCXX_HAVE_ETIMEDOUT + timed_out = ETIMEDOUT, +#endif too_many_files_open_in_system = ENFILE, too_many_files_open = EMFILE, too_many_links = EMLINK // too_many_symbolic_link_levels = ELOOP, - // value_too_large = EOVERFLOW, +#ifdef _GLIBCXX_HAVE_EOVERFLOW + value_too_large = EOVERFLOW, +#endif // wrong_protocol_type = EPROTOTYPE }; |