Ticket #3994: boost_system-errors-brcm.patch
File boost_system-errors-brcm.patch, 1.3 KB (added by , 13 years ago) |
---|
-
boost_1_42_0/libs/system/src/error_code.cpp
221 221 # if ENOTEMPTY != EEXIST // AIX treats ENOTEMPTY and EEXIST as the same value 222 222 case ENOTEMPTY: return make_error_condition( directory_not_empty ); 223 223 # endif // ENOTEMPTY != EEXIST 224 # if ENOTRECOVERABLE != ECONNRESET // the same on some Broadcom chips 224 225 case ENOTRECOVERABLE: return make_error_condition( state_not_recoverable ); 226 # endif // ENOTRECOVERABLE != ECONNRESET 225 227 case ENOTSOCK: return make_error_condition( not_a_socket ); 226 228 case ENOTSUP: return make_error_condition( not_supported ); 227 229 case ENOTTY: return make_error_condition( inappropriate_io_control_operation ); … … 230 232 case EOPNOTSUPP: return make_error_condition( operation_not_supported ); 231 233 # endif // EOPNOTSUPP != ENOTSUP 232 234 case EOVERFLOW: return make_error_condition( value_too_large ); 235 # if EOWNERDEAD != ECONNABORTED // the same on some Broadcom chips 233 236 case EOWNERDEAD: return make_error_condition( owner_dead ); 237 # endif // EOWNERDEAD != ECONNABORTED 234 238 case EPERM: return make_error_condition( operation_not_permitted ); 235 239 case EPIPE: return make_error_condition( broken_pipe ); 236 240 case EPROTO: return make_error_condition( protocol_error );