mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-18 01:15:46 +00:00
Merge pull request #37 from d3m3vilurr/fix-vita
Fix vita connecting problems
This commit is contained in:
commit
ebd0b2d3b1
@ -50,7 +50,10 @@ typedef socklen_t SOCKADDR_LEN;
|
||||
|
||||
#if defined(__vita__)
|
||||
#define TCP_NODELAY SCE_NET_TCP_NODELAY
|
||||
#define INADDR_ANY SCE_NET_INADDR_ANY
|
||||
#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…
x
Reference in New Issue
Block a user