diff --git a/netplay_compat.h b/netplay_compat.h index 2125c813aa..6757b5f0b1 100644 --- a/netplay_compat.h +++ b/netplay_compat.h @@ -75,10 +75,8 @@ static INLINE bool isagain(int bytes) #if defined(_WIN32) if (bytes != SOCKET_ERROR) return false; -#ifndef _XBOX if (WSAGetLastError() != WSAEWOULDBLOCK) return false; -#endif return true; #else return (bytes < 0 && (errno == EAGAIN || errno == EWOULDBLOCK));