From f6aa3fc4625994405f4420586126aa3d31c19f75 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 24 Jan 2010 12:31:55 +0000 Subject: disable poll on aix --- ev.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ev.c') 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 -- cgit v1.2.3