summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ev.c b/ev.c
index f1bcf58..553dc55 100644
--- a/ev.c
+++ b/ev.c
@@ -346,6 +346,12 @@ extern "C" {
/* this block fixes any misconfiguration where we know we run into trouble otherwise */
+#ifdef _AIX
+/* AIX has a completely broken poll.h header */
+# undef EV_USE_POLL
+# define EV_USE_POLL 0
+#endif
+
#ifndef CLOCK_MONOTONIC
# undef EV_USE_MONOTONIC
# define EV_USE_MONOTONIC 0