From f99cb6bb68e7f0acbb7c38eb42b530e89d071bd0 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 24 Jan 2015 01:22:15 +0100 Subject: [PATCH] (Xbox) Xbox has WSAGetLastError() after all --- netplay_compat.h | 2 -- 1 file changed, 2 deletions(-) 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));