mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-06-17 14:21:30 +00:00
vita: Redefine network error codes
temporary patch until merge vitasdk/newlib#38
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user