zeromq / libzmq

ZeroMQ core engine in C++, implements ZMTP/3.1
https://www.zeromq.org
Mozilla Public License 2.0
9.62k stars 2.35k forks source link

CMake: fix devpoll detection not working properly #4522

Closed stephanlachnit closed 1 year ago

stephanlachnit commented 1 year ago

Currently, CMake sets DEVPOLL instead of HAVE_DEVPOLL, so the detection doesn't work any. Also, I think just checking for sys/devpoll.h is enough.