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 22eb11c commit d01ba2eCopy full SHA for d01ba2e
src/etc/mingw-fix-include/winsock2.h
@@ -3,10 +3,15 @@
3
4
#include_next <winsock2.h>
5
6
+// mingw 4.0.x has broken headers (#9246) but mingw-w64 does not.
7
+#if defined(__MINGW_MAJOR_VERSION) && __MINGW_MAJOR_VERSION == 4
8
+
9
typedef struct pollfd {
10
SOCKET fd;
11
short events;
12
short revents;
13
} WSAPOLLFD, *PWSAPOLLFD, *LPWSAPOLLFD;
14
15
#endif
16
17
+#endif // _FIX_WINSOCK2_H
0 commit comments