Wii buildfix (round 3)

Annoying preprocessor...
This commit is contained in:
Cthulhu-throwaway 2022-06-10 14:34:54 -03:00
parent 423cc50b6d
commit fed60aaee6
2 changed files with 2 additions and 1 deletions

View File

@ -74,7 +74,6 @@
#define recv(a,b,c,d) net_recv(a,b,c,d)
#define recvfrom(a,b,c,d,e,f) net_recvfrom(a,b,c,d,e,f)
#define select(a,b,c,d,e) net_select(a,b,c,d,e)
#define poll(a,b,c) net_poll(a,b,c)
#elif defined(VITA)
#include <psp2/net/net.h>

View File

@ -464,6 +464,8 @@ done:
sceNetEpollDestroy(epoll_fd);
return ret;
#elif defined(GEKKO)
return net_poll(fds, nfds, timeout);
#else
return poll(fds, nfds, timeout);
#endif