Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 702f73cc authored by Deucе's avatar Deucе 👌🏾

Add nfds_t required by poll(), and add note describing Win32 bug

parent 79e20c8d
Pipeline #1828 passed with stage
in 9 minutes and 44 seconds
......@@ -173,6 +173,12 @@ static int wsa_error;
#define ERROR_VALUE ((wsa_error=WSAGetLastError())>0 ? wsa_error-WSABASEERR : wsa_error)
#define socket_errno WSAGetLastError()
#define sendsocket(s,b,l) send(s,b,l,0)
typedef ULONG nfds_t;
/*
* NOTE: WSAPoll() has a bug where a non-blocking socket which has connect()
* called on it that is trying to connect to a closed port will timeout
* instead of returning a failure, even with POLLOUT specified.
*/
#define poll(s, c, t) WSAPoll(s, c, t)
/* For getaddrinfo() */
......
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