Revert "define guards to prevent warnings" (fixes #737)

This reverts commit 20634976e9.
This commit is contained in:
Tim Angus 2025-07-18 14:41:25 +01:00
parent 465f72dcd4
commit dede9aa79a

View File

@ -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( )