We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bad866a commit 61542f7Copy full SHA for 61542f7
compat/mingw.h
@@ -32,7 +32,9 @@ typedef int socklen_t;
32
#define WEXITSTATUS(x) ((x) & 0xff)
33
#define WTERMSIG(x) SIGTERM
34
35
+#ifndef EWOULDBLOCK
36
#define EWOULDBLOCK EAGAIN
37
+#endif
38
#define SHUT_WR SD_SEND
39
40
#define SIGHUP 1
@@ -46,8 +48,12 @@ typedef int socklen_t;
46
48
#define F_SETFD 2
47
49
#define FD_CLOEXEC 0x1
50
51
+#ifndef EAFNOSUPPORT
52
#define EAFNOSUPPORT WSAEAFNOSUPPORT
53
54
+#ifndef ECONNABORTED
55
#define ECONNABORTED WSAECONNABORTED
56
57
58
struct passwd {
59
char *pw_name;
0 commit comments