summaryrefslogtreecommitdiff
path: root/event.h
diff options
context:
space:
mode:
authorroot <root>2010-10-21 12:32:47 +0000
committerroot <root>2010-10-21 12:32:47 +0000
commit6f0d3cb475e52576be15d46194e09d01c54c7de4 (patch)
tree11882d1e81802b83f9f15af48a227ccc5dcd91dd /event.h
parent0aa781a3bca6d71933d42a757e501b376fa73c29 (diff)
*** empty log message ***
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