summaryrefslogtreecommitdiff
path: root/ev.h
diff options
context:
space:
mode:
authorMarc Alexander Lehmann <libev@schmorp.de>2010-10-24 18:09:58 +0000
committerMarc Alexander Lehmann <libev@schmorp.de>2010-10-24 18:09:58 +0000
commit32e5f700c36bffc0b9cc2a038264d6e79c0a25c9 (patch)
tree5b142dbd718fae7646a01820e8e5bf419e17e23c /ev.h
parentcdfebbcb4ba8f163792293d1085fb4eb4a19ccc7 (diff)
downloadlibev-32e5f700c36bffc0b9cc2a038264d6e79c0a25c9.tar.gz
libev-32e5f700c36bffc0b9cc2a038264d6e79c0a25c9.zip
*** empty log message ***
Diffstat (limited to 'ev.h')
-rw-r--r--ev.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/ev.h b/ev.h
index adc038b..f0ffd4f 100644
--- a/ev.h
+++ b/ev.h
@@ -100,11 +100,11 @@ EV_CPP(extern "C" {)
#endif
#ifndef EV_FORK_ENABLE
-# define EV_FORK_ENABLE 0 /* not implemented */
+# define EV_FORK_ENABLE EV_FEATURE_WATCHERS
#endif
#ifndef EV_CLEANUP_ENABLE
-# define EV_CLEANUP_ENABLE EV_FEATURE_WATCHERS
+# define EV_CLEANUP_ENABLE 0 /* not implemented */
#endif
#ifndef EV_SIGNAL_ENABLE
@@ -427,7 +427,9 @@ typedef struct ev_embed
ev_periodic periodic; /* unused */
ev_idle idle; /* unused */
ev_fork fork; /* private */
+#if EV_CLEANUP_ENABLE
ev_cleanup cleanup; /* unused */
+#endif
} ev_embed;
#endif