freebsd has this too;

pull/508/head
Rick V 5 years ago
parent a9181e27a4
commit 7036dd1756

@ -23,7 +23,7 @@ llarp_ev_pkt_pipe::Start()
return false;
}
#else
#ifdef __linux__
#if defined(__linux__) || defined(__FreeBSD__)
if(pipe2(_fds, O_DIRECT | O_NONBLOCK) == -1)
#else
// non-linux reeeeeeeee

Loading…
Cancel
Save