summaryrefslogtreecommitdiff
path: root/ev.h
diff options
context:
space:
mode:
authorroot <root>2010-03-10 09:18:24 +0000
committerroot <root>2010-03-10 09:18:24 +0000
commitf8967b07fd26aa3c7e5f9f8becf81c72727659e2 (patch)
tree423304b94e177531a661713888a5929d1ebd0859 /ev.h
parent1e97f470d7efb51562242a32fa3145e02c19b030 (diff)
*** empty log message ***
Diffstat (limited to 'ev.h')
-rw-r--r--ev.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/ev.h b/ev.h
index 661ff98..c99d40c 100644
--- a/ev.h
+++ b/ev.h
@@ -66,6 +66,14 @@ typedef double ev_tstamp;
# define EV_STAT_ENABLE 1
#endif
+#ifndef EV_PREPARE_ENABLE
+# define EV_PREPARE_ENABLE 1
+#endif
+
+#ifndef EV_CHECK_ENABLE
+# define EV_CHECK_ENABLE 1
+#endif
+
#ifndef EV_IDLE_ENABLE
# define EV_IDLE_ENABLE 1
#endif
@@ -694,11 +702,15 @@ void ev_idle_start (EV_P_ ev_idle *w);
void ev_idle_stop (EV_P_ ev_idle *w);
# endif
+#if EV_PREPARE_ENABLE
void ev_prepare_start (EV_P_ ev_prepare *w);
void ev_prepare_stop (EV_P_ ev_prepare *w);
+#endif
+#if EV_CHECK_ENABLE
void ev_check_start (EV_P_ ev_check *w);
void ev_check_stop (EV_P_ ev_check *w);
+#endif
# if EV_FORK_ENABLE
void ev_fork_start (EV_P_ ev_fork *w);