mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-13 14:21:08 +00:00
Merge pull request #4490 from aliaspider/master
(Wii) buildfix for HAVE_NETWORKING=1.
This commit is contained in:
commit
bce47862ad
@ -138,6 +138,14 @@ struct SceNetInAddr inet_aton(const char *ip_addr);
|
||||
#ifdef GEKKO
|
||||
#define sendto(s, msg, len, flags, addr, tolen) net_sendto(s, msg, len, 0, addr, 8)
|
||||
#define socket(domain, type, protocol) net_socket(domain, type, protocol)
|
||||
#define bind(s, name, namelen) net_bind(s, name, namelen)
|
||||
#define listen(s, backlog) net_listen(s, backlog)
|
||||
#define accept(s, addr, addrlen) net_accept(s, addr, addrlen)
|
||||
#define connect(s, addr, addrlen) net_connect(s, addr, addrlen)
|
||||
#define send(s, data, size, flags) net_send(s, data, size, flags)
|
||||
#define recv(s, mem, len, flags) net_recv(s, mem, len, flags)
|
||||
#define recvfrom(s, mem, len, flags, from, fromlen) net_recvfrom(s, mem, len, flags, from, fromlen)
|
||||
#define select(maxfdp1, readset, writeset, exceptset, timeout) net_select(maxfdp1, readset, writeset, exceptset, timeout)
|
||||
#endif
|
||||
|
||||
static INLINE bool isagain(int bytes)
|
||||
|
@ -297,7 +297,7 @@ bool network_init(void)
|
||||
retro_epoll_fd = sceNetEpollCreate("epoll", 0);
|
||||
#elif defined(GEKKO)
|
||||
char t[16];
|
||||
if (if_config(t, NULL, NULL, TRUE) < 0)
|
||||
if (if_config(t, NULL, NULL, TRUE, 10) < 0)
|
||||
return false;
|
||||
#else
|
||||
signal(SIGPIPE, SIG_IGN); /* Do not like SIGPIPE killing our app. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user