diff options
author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-08-24 15:19:36 +0000 |
---|---|---|
committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-08-24 15:19:36 +0000 |
commit | 49091554c7dffa02b5bb9e098f7adecdbf606e8c (patch) | |
tree | 27ddac42af04ecce4a26ab092c55c2464fb37ecd /libstdc++-v3/include/std/system_error | |
parent | f97743d32e65f34fa33ea9958f368edd7d07b83a (diff) | |
download | ppe42-gcc-49091554c7dffa02b5bb9e098f7adecdbf606e8c.tar.gz ppe42-gcc-49091554c7dffa02b5bb9e098f7adecdbf606e8c.zip |
2007-08-24 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add ENOLINK, EPROTO
for netbsd.
* configure: Regenerate.
* include/std/system_error: Guard.
* testsuite/19_diagnostics/headers/system_error/
types_std_c++0x.cc: Same.
* testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
line numbers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127772 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/std/system_error')
-rw-r--r-- | libstdc++-v3/include/std/system_error | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libstdc++-v3/include/std/system_error b/libstdc++-v3/include/std/system_error index 3f13622b485..0b520580b14 100644 --- a/libstdc++-v3/include/std/system_error +++ b/libstdc++-v3/include/std/system_error @@ -93,7 +93,9 @@ _GLIBCXX_BEGIN_NAMESPACE(std) network_unreachable = ENETUNREACH, no_buffer_space = ENOBUFS, no_child_process = ECHILD, +#ifdef _GLIBCXX_HAVE_ENOLINK no_link = ENOLINK, +#endif no_lock_available = ENOLCK, no_message_available = ENODATA, no_message = ENOMSG, @@ -119,7 +121,9 @@ _GLIBCXX_BEGIN_NAMESPACE(std) owner_dead = EOWNERDEAD, #endif permission_denied = EACCES, +#ifdef _GLIBCXX_HAVE_EPROTO protocol_error = EPROTO, +#endif protocol_not_supported = EPROTONOSUPPORT, read_only_file_system = EROFS, resource_deadlock_would_occur = EDEADLK, |