mirror of https://git.citron-emu.org/citron/emu
fix: remove invalid WSAEBUSY Windows socket error code
- Fixes Windows compilation error by removing the WSAEBUSY case in TranslateNativeError. - This error code does not exist in the Windows Sockets API as documented in the Microsoft documentation, but was incorrectly included in the Windows-specific error handling code. Signed-off-by: Zephyron <zephyron@citron-emu.org>
This commit is contained in:
parent
1ad69f3545
commit
58401f5b39
|
@ -159,8 +159,6 @@ Errno TranslateNativeError(int e, CallType call_type = CallType::Other) {
|
||||||
return Errno::INPROGRESS;
|
return Errno::INPROGRESS;
|
||||||
case WSAENOTSOCK:
|
case WSAENOTSOCK:
|
||||||
return Errno::NOTSOCK;
|
return Errno::NOTSOCK;
|
||||||
case WSAEBUSY:
|
|
||||||
return Errno::BUSY;
|
|
||||||
default:
|
default:
|
||||||
UNIMPLEMENTED_MSG("Unimplemented errno={}", e);
|
UNIMPLEMENTED_MSG("Unimplemented errno={}", e);
|
||||||
return Errno::OTHER;
|
return Errno::OTHER;
|
||||||
|
|
Loading…
Reference in New Issue