summaryrefslogtreecommitdiff
path: root/event.h
diff options
context:
space:
mode:
Diffstat (limited to 'event.h')
-rw-r--r--event.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/event.h b/event.h
index 474de1a..358344a 100644
--- a/event.h
+++ b/event.h
@@ -46,6 +46,12 @@
# include "ev.h"
#endif
+#ifndef EVLOOP_NONBLOCK
+# define EVLOOP_NONBLOCK EVRUN_NOWAIT
+#endif
+#ifndef EVLOOP_ONESHOT
+# define EVLOOP_ONESHOT EVRUN_ONCE
+#endif
#ifndef EV_TIMEOUT
# define EV_TIMEOUT EV_TIMER
#endif