X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/f80233888429b82d548aed2fca59cd324e1b6610..e0e6405dcc1fa8cdfe05ddc51fe252bd3a4e6fa4:/ev.c?ds=inline diff --git a/ev.c b/ev.c index 1aafbec..46bde95 100644 --- a/ev.c +++ b/ev.c @@ -122,6 +122,12 @@ extern "C" { /**/ +/* darwin simply cannot be helped */ +#ifdef __APPLE__ +# undef EV_USE_POLL +# undef EV_USE_KQUEUE +#endif + #ifndef CLOCK_MONOTONIC # undef EV_USE_MONOTONIC # define EV_USE_MONOTONIC 0