On 07/07/2021 05.24, Richard Zak wrote:
What conditions are required for "#define CONFIG_PIPE2" to be set in build/config-host.h? It prevents building for Haiku as pipe2() doesn't exist. I didn't see anything in the configure script regarding pipe2. I also updated my code to the latest in the repository and this issue just popped up.
CONFIG_PIPE2 is set from meson.build instead of the configure script. But why is this blocking your build? The only relevant spot is in util/oslib-posix.c and there is a fallback to the normal pipe() function there...
Thomas