Commit f84c8827 authored by David Woodhouse's avatar David Woodhouse

Provide pipe() for MinGW build

Signed-off-by: default avatarDavid Woodhouse <>
parent b2081548
......@@ -370,6 +370,7 @@ int openconnect__inet_aton(const char *cp, struct in_addr *addr);
#ifdef _WIN32
#define pipe(fds) _pipe(fds, 4096, O_BINARY)
#define neterrno openconnect__win32_neterrno
int openconnect__win32_neterrno();
ssize_t openconnect__win32_sock_read(gnutls_transport_ptr_t ptr, void *data, size_t size);
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