Open petrhosek opened 4 years ago
nothing complicated ...
just add a test if the header "poll.h" is present
if present add the definition -DHAVE_POLL_H and -DUSE_PPOLL
if You are not in a hurry I will fork and create a pull request
I can test on fedora33 and FreeBSD 13
season greetings
enrico
@ghost PR would be very welcome :)
On platforms that support it,
configure.py
enables the use ofppoll
by definingUSE_PPOLL
. CMake build doesn't replicate this logic which means that Ninja built with CMake is always going to use the less efficientpselect
.