From 9c10938815e6b3f896c4ed028045524d046146a1 Mon Sep 17 00:00:00 2001 From: zoey jodon Date: Thu, 21 Dec 2023 09:35:50 -0500 Subject: [PATCH] Revert SO_ERROR guard for 3DS --- unix.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/unix.c b/unix.c index b71fa048..5f9b6584 100644 --- a/unix.c +++ b/unix.c @@ -469,11 +469,7 @@ enet_socket_get_option (ENetSocket socket, ENetSocketOption option, int * value) { case ENET_SOCKOPT_ERROR: len = sizeof (int); -#ifndef __3DS__ //SO_ERROR is unreliable on 3DS result = getsockopt (socket, SOL_SOCKET, SO_ERROR, value, & len); -#else - result = 0; -#endif break; case ENET_SOCKOPT_TTL: