]> git.llucax.com Git - software/libev.git/blobdiff - ev.c
*** empty log message ***
[software/libev.git] / ev.c
diff --git a/ev.c b/ev.c
index 1aafbec9ac321f6c9a6ed371a30ba16570ca3ba8..46bde9567a7684e7d9cf2492a2ba377737a82e7c 100644 (file)
--- 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