[Lldb-commits] [PATCH] D12746: The pipe2(2) call is supported on NetBSD

Joerg Sonnenberger via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 9 22:51:57 PDT 2015


On Thu, Sep 10, 2015 at 01:15:43AM +0000, Kamil Rytarowski wrote:
> Linux and NetBSD versions are compatible, modulo flag values:
> - O_CLOEXEC and O_NONBLOCK are the same,
> - O_NOSIGPIPE on NetBSD,
> - O_DIRECT on Linux.

I wonder why we don't just detect this via appropiate build test.
There should be no need to hard-code supported platforms here.

Joerg


More information about the lldb-commits mailing list