Patch to add CloudABI support
Brought to you by:
gyunaev
The attached patch is not intended for immediate upstreaming, just to hear your thoughts about this. The patch adds platform support for CloudABI, a POSIX-like platform that does away with global namespaces and other parts of POSIX. This platform doesn't have the socket() or connect() functions to pull a socket out of thin air. Instead, you provide your own connected socket file descriptor using a new function called irc_set_sockfd, which is irc_connect but without actually connecting. It also improves installs the static library next to the shared one.