vita: Redefine network error codes
temporary patch until merge vitasdk/newlib#38
This commit is contained in:
parent
53352c1a8e
commit
93707b42e9
1 changed files with 4 additions and 0 deletions
|
|
@ -50,6 +50,10 @@ typedef socklen_t SOCKADDR_LEN;
|
|||
|
||||
#if defined(__vita__)
|
||||
#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 sin6_addr sin_addr
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue