diff --git a/code/qcommon/net_ip.c b/code/qcommon/net_ip.c index d2efbd37..bcccda20 100644 --- a/code/qcommon/net_ip.c +++ b/code/qcommon/net_ip.c @@ -46,22 +46,10 @@ typedef int socklen_t; typedef unsigned short sa_family_t; # endif -# ifndef EAGAIN -# define EAGAIN WSAEWOULDBLOCK -# endif - -# ifndef EADDRNOTAVAIL -# define EADDRNOTAVAIL WSAEADDRNOTAVAIL -# endif - -# ifndef EAFNOSUPPORT -# define EAFNOSUPPORT WSAEAFNOSUPPORT -# endif - -# ifndef ECONNRESET -# define ECONNRESET WSAECONNRESET -# endif - +# define EAGAIN WSAEWOULDBLOCK +# define EADDRNOTAVAIL WSAEADDRNOTAVAIL +# define EAFNOSUPPORT WSAEAFNOSUPPORT +# define ECONNRESET WSAECONNRESET typedef u_long ioctlarg_t; # define socketError WSAGetLastError( )