Differences From Artifact [aaa2b87b7c]:
- File src/OFTCPSocket.m — part of check-in [1e79c0a969] at 2018-08-26 12:46:43 on branch trunk — Initial support for async connect without threads (user: js, size: 16831) [annotate] [blame] [check-ins using]
To Artifact [3cac08541a]:
- File
src/OFTCPSocket.m
— part of check-in
[bed2db0fd3]
at
2018-08-26 18:39:28
on branch trunk
— Fix compilation for Wii
This pretends that net_getsockopt() exists, which it does not yet. As
soon as it lands in libogc, this will work again. (user: js, size: 16854) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 | of_resolver_result_t *result = *iter; of_socket_address_t address; switch (result->family) { case AF_INET: address.family = OF_SOCKET_ADDRESS_FAMILY_IPV4; break; case AF_INET6: address.family = OF_SOCKET_ADDRESS_FAMILY_IPV6; break; default: errNo = EAFNOSUPPORT; continue; } if (result->addressLength > sizeof(address)) { errNo = EOVERFLOW; | > > | 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 | of_resolver_result_t *result = *iter; of_socket_address_t address; switch (result->family) { case AF_INET: address.family = OF_SOCKET_ADDRESS_FAMILY_IPV4; break; #ifdef AF_INET6 case AF_INET6: address.family = OF_SOCKET_ADDRESS_FAMILY_IPV6; break; #endif default: errNo = EAFNOSUPPORT; continue; } if (result->addressLength > sizeof(address)) { errNo = EOVERFLOW; |
︙ | ︙ |