summaryrefslogtreecommitdiffstats
path: root/osdep-darwin.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2020-04-22 12:18:11 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2020-04-22 12:18:11 +0100
commitd4826aa1aae9b5a3efe6764f87d9c9b897f4723e (patch)
treef9d841940a58ba7a022c72a98e4724fd5d29cc63 /osdep-darwin.c
parentdf1bce40f0863b024cbd6d8ad56fd3a8914e68ed (diff)
Nope, OS X kqueue is still broken...
Diffstat (limited to 'osdep-darwin.c')
-rw-r--r--osdep-darwin.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/osdep-darwin.c b/osdep-darwin.c
index 6d1bfb72..6b2b1d72 100644
--- a/osdep-darwin.c
+++ b/osdep-darwin.c
@@ -93,19 +93,15 @@ osdep_event_init(void)
{
struct event_base *base;
-#ifndef __MAC_10_7
/*
* On OS X, kqueue and poll are both completely broken and don't
* work on anything except socket file descriptors (yes, really).
*/
setenv("EVENT_NOKQUEUE", "1", 1);
setenv("EVENT_NOPOLL", "1", 1);
-#endif
base = event_init();
-#ifndef __MAC_10_7
unsetenv("EVENT_NOKQUEUE");
unsetenv("EVENT_NOPOLL");
-#endif
return (base);
}