summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
authorMarc Alexander Lehmann <libev@schmorp.de>2019-06-22 16:25:53 +0000
committerMarc Alexander Lehmann <libev@schmorp.de>2019-06-22 16:25:53 +0000
commitfe5d7898ac28ecf208ef3218cf8bd1350f779ba1 (patch)
treef92594b7722b3ea265d4c461322d861af24f0bb7 /ev.c
parent9af345119effacce866972dc590482aed277dafd (diff)
downloadlibev-fe5d7898ac28ecf208ef3218cf8bd1350f779ba1.tar.gz
libev-fe5d7898ac28ecf208ef3218cf8bd1350f779ba1.zip
*** empty log message ***
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/ev.c b/ev.c
index 1079f40..df78183 100644
--- a/ev.c
+++ b/ev.c
@@ -327,7 +327,11 @@
#endif
#ifndef EV_USE_LINUXAIO
-# define EV_USE_LINUXAIO 0
+# if __linux /* libev currently assumes linux/aio_abi.h is always available on linux */
+# define EV_USE_LINUXAIO 1
+# else
+# define EV_USE_LINUXAIO 0
+# endif
#endif
#ifndef EV_USE_INOTIFY