Check for both EWOULDBLOCK and EAGAIN for OSes where those values differ

This commit is contained in:
Cameron Gutman committed 2018-07-21 16:12:38 -07:00
1 parent ebd0b2d3b1
commit 219d87486e
2 files changed
+4 -1

No files matched your search

+1
View File
@@ -11,6 +11,7 @@
#define SHUT_RDWR SD_BOTH
#define EWOULDBLOCK WSAEWOULDBLOCK
#define EAGAIN WSAEWOULDBLOCK
typedef int SOCK_RET;
typedef int SOCKADDR_LEN;