ITS#6938 WIN32: silence warnings for redefined error codes

This commit is contained in:
Howard Chu 2025-11-25 19:45:36 +00:00 committed by Quanah Gibson-Mount
parent 7055e08841
commit 90e6bfe0c6

View file

@ -98,6 +98,9 @@
# define tcp_close( s ) closesocket( s )
# endif
#undef EWOULDBLOCK
#undef EINPROGRESS
#undef ETIMEDOUT
#define EWOULDBLOCK WSAEWOULDBLOCK
#define ENOTCONN WSAENOTCONN
#define EINPROGRESS WSAEINPROGRESS