mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-18 01:15:46 +00:00
vita: Redefine network error codes
temporary patch until merge vitasdk/newlib#38
This commit is contained in:
parent
53352c1a8e
commit
93707b42e9
@ -50,6 +50,10 @@ typedef socklen_t SOCKADDR_LEN;
|
|||||||
|
|
||||||
#if defined(__vita__)
|
#if defined(__vita__)
|
||||||
#define TCP_NODELAY SCE_NET_TCP_NODELAY
|
#define TCP_NODELAY SCE_NET_TCP_NODELAY
|
||||||
|
#undef EAGAIN
|
||||||
|
#undef EWOULDBLOCK
|
||||||
|
#define EAGAIN SCE_NET_EAGAIN
|
||||||
|
#define EWOULDBLOCK SCE_NET_EWOULDBLOCK
|
||||||
|
|
||||||
#define sockaddr_in6 sockaddr_in
|
#define sockaddr_in6 sockaddr_in
|
||||||
#define sin6_addr sin_addr
|
#define sin6_addr sin_addr
|
||||||
|
Loading…
x
Reference in New Issue
Block a user