X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/f80233888429b82d548aed2fca59cd324e1b6610..467f3f9267272948a7b5ecfb9398b7ae40b52f04:/ev.c diff --git a/ev.c b/ev.c index 1aafbec..d951d4e 100644 --- a/ev.c +++ b/ev.c @@ -122,6 +122,12 @@ extern "C" { /**/ +/* darwin simply cnanot 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