mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-09-21 09:55:14 +00:00
fix windows wsa E_DESTADDRREQ
This commit is contained in:
@@ -121,6 +121,7 @@ Errno TranslateNativeError(int e, CallType call_type = CallType::Other) {
|
|||||||
case WSAENOPROTOOPT: return Errno::E_NOPROTOOPT;
|
case WSAENOPROTOOPT: return Errno::E_NOPROTOOPT;
|
||||||
case WSAEPROTONOSUPPORT: return Errno::E_PROTONOSUPPORT;
|
case WSAEPROTONOSUPPORT: return Errno::E_PROTONOSUPPORT;
|
||||||
case WSAESOCKTNOSUPPORT: return Errno::E_SOCKTNOSUPPORT;
|
case WSAESOCKTNOSUPPORT: return Errno::E_SOCKTNOSUPPORT;
|
||||||
|
case WSAEDESTADDRREQ: return Errno::E_DESTADDRREQ;
|
||||||
#ifdef WSAENOTSUP
|
#ifdef WSAENOTSUP
|
||||||
// Not defined by fucking MSVC because MSVC is stupid as shitfuckery
|
// Not defined by fucking MSVC because MSVC is stupid as shitfuckery
|
||||||
case WSAENOTSUP: return Errno::E_NOTSUP;
|
case WSAENOTSUP: return Errno::E_NOTSUP;
|
||||||
|
|||||||
Reference in New Issue
Block a user