mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 18:32:44 +00:00
(Network) Don't call getsockopt on 3DS platform (#14389)
This commit is contained in:
parent
1c31efaa91
commit
b88c297f8e
@ -728,7 +728,10 @@ bool socket_connect_with_timeout(int fd, void *data, int timeout)
|
||||
return false;
|
||||
}
|
||||
|
||||
#if !defined(GEKKO) && defined(SO_ERROR)
|
||||
/* Excluded platforms do not have getsockopt implemented [GEKKO],
|
||||
* or it's returned values are unreliable [3DS].
|
||||
*/
|
||||
#if !defined(GEKKO) && !defined(_3DS) && defined(SO_ERROR)
|
||||
{
|
||||
int error = -1;
|
||||
socklen_t errsz = sizeof(error);
|
||||
|
Loading…
x
Reference in New Issue
Block a user