Commit 5a8f2d7c authored by Kenton Varda's avatar Kenton Varda

Fix MinGW 32-bit build.

parent 9d764566
......@@ -38,6 +38,7 @@
#include <ws2ipdef.h>
#include <ws2tcpip.h>
#include <mswsock.h>
#include <stdlib.h>
#ifndef IPV6_V6ONLY
// MinGW's headers are missing this.
......@@ -179,7 +180,6 @@ public:
if (flags & LowLevelAsyncIoProvider::TAKE_OWNERSHIP) {
KJ_WINSOCK(closesocket(fd)) { break; }
}
static_assert(sizeof(SOCKET) == 8, "nope");
}
protected:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment