… | |
… | |
325 | #ifndef EV_USE_PORT |
325 | #ifndef EV_USE_PORT |
326 | # define EV_USE_PORT 0 |
326 | # define EV_USE_PORT 0 |
327 | #endif |
327 | #endif |
328 | |
328 | |
329 | #ifndef EV_USE_LINUXAIO |
329 | #ifndef EV_USE_LINUXAIO |
|
|
330 | # if __linux /* libev currently assumes linux/aio_abi.h is always available on linux */ |
|
|
331 | # define EV_USE_LINUXAIO 1 |
|
|
332 | # else |
330 | # define EV_USE_LINUXAIO 0 |
333 | # define EV_USE_LINUXAIO 0 |
|
|
334 | # endif |
331 | #endif |
335 | #endif |
332 | |
336 | |
333 | #ifndef EV_USE_INOTIFY |
337 | #ifndef EV_USE_INOTIFY |
334 | # if __linux && (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 4)) |
338 | # if __linux && (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 4)) |
335 | # define EV_USE_INOTIFY EV_FEATURE_OS |
339 | # define EV_USE_INOTIFY EV_FEATURE_OS |