fix windows compiling with mingw (#848)
This commit is contained in:
parent
5a3c324138
commit
43aeabbbee
@ -32,6 +32,7 @@
|
||||
#include "sockcompat.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <errno.h>
|
||||
static int _wsaErrorToErrno(int err) {
|
||||
switch (err) {
|
||||
case WSAEWOULDBLOCK:
|
||||
|
Loading…
Reference in New Issue
Block a user