From 876766bf2dd9a81e38adb73abab1724694296c25 Mon Sep 17 00:00:00 2001 From: Taylor Richards Date: Mon, 7 Sep 2015 18:11:35 -0400 Subject: [PATCH] ditch FAR keyword on SELECT() definition --- src/network/psnet2.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/network/psnet2.cpp b/src/network/psnet2.cpp index ef96edc..8c6b54d 100644 --- a/src/network/psnet2.cpp +++ b/src/network/psnet2.cpp @@ -438,11 +438,8 @@ int RECVFROM(SOCKET s, char *buf, int len, int flags, sockaddr *from, int *froml return ret_len; } -#ifdef PLAT_UNIX -#define FAR -#endif // wrappers around select() and recvfrom() for lagging/losing data -int SELECT(int nfds, fd_set FAR * readfds, fd_set FAR * writefds, fd_set FAR * exceptfds, struct timeval FAR * timeout, int psnet_type) +int SELECT(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout, int psnet_type) { network_packet_buffer_list *l; -- 2.39.2