From 2c9109936cee8873cdb38c0164221c3026da5372 Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Sun, 19 Feb 2012 19:29:18 +0100 Subject: [PATCH] Linux uses EAGAIN instead of EWOULDBLOCK (only used on Windows) --- Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net.cpp b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net.cpp index c21b364def..41ceb7c545 100644 --- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net.cpp +++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net.cpp @@ -544,7 +544,7 @@ static int getNetErrorCode(int ret, std::string caller, bool isRW) return -30; // EISCONN case ERRORCODE(ENOTCONN): return -6; // EAGAIN - case ERRORCODE(EWOULDBLOCK): + case EITHER(WSAEWOULDBLOCK, EAGAIN): case ERRORCODE(EINPROGRESS): if(isRW){ return -6; // EAGAIN