diff --git a/libretro-common/include/net/net_compat.h b/libretro-common/include/net/net_compat.h index a2a8116ff0..35586627ab 100644 --- a/libretro-common/include/net/net_compat.h +++ b/libretro-common/include/net/net_compat.h @@ -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> diff --git a/libretro-common/net/net_socket.c b/libretro-common/net/net_socket.c index 223ba82292..bba2013ab9 100644 --- a/libretro-common/net/net_socket.c +++ b/libretro-common/net/net_socket.c @@ -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