--- libaitsched/src/tasks.c 2012/08/02 12:32:07 1.10.2.9 +++ libaitsched/src/tasks.c 2012/08/02 12:58:02 1.10.2.10 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: tasks.c,v 1.10.2.9 2012/08/02 12:32:07 misho Exp $ +* $Id: tasks.c,v 1.10.2.10 2012/08/02 12:58:02 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -482,7 +482,7 @@ schedAlarm(sched_root_task_t * __restrict root, sched_ return task; } -#if defined(EVFILT_AIO) && defined(SIGEV_KEVENT) +#ifdef AIO_SUPPORT /* * schedAIO() - Add AIO task to scheduler queue * @@ -782,7 +782,7 @@ schedLIOWrite(sched_root_task_t * __restrict root, sch return schedAIO(root, func, arg, (void*) acb, bufs, nbufs); } #endif /* EVFILT_LIO */ -#endif /* EVFILT_AIO */ +#endif /* AIO_SUPPORT */ /* * schedTimer() - Add TIMER task to scheduler queue