fix ws curl error message + some Windows warnings

This commit is contained in:
Benjamin Sergeant
2020-12-12 11:00:55 -08:00
parent 2fac4bd9ef
commit 93ad709dfd
6 changed files with 12 additions and 5 deletions

View File

@ -45,7 +45,7 @@ namespace ix
int poll(struct pollfd* fds, nfds_t nfds, int timeout)
{
#ifdef _WIN32
int maxfd = 0;
socket_t maxfd = 0;
fd_set readfds, writefds, errorfds;
FD_ZERO(&readfds);
FD_ZERO(&writefds);