mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 08:30:16 +00:00
(Xbox) Xbox has WSAGetLastError() after all
This commit is contained in:
parent
a268feb1b3
commit
f99cb6bb68
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user