]> git.llucax.com Git - software/libev.git/blobdiff - ev++.h
*** empty log message ***
[software/libev.git] / ev++.h
diff --git a/ev++.h b/ev++.h
index 9d0df26c9e1d74ea722d95daa9503cf912662ed5..f33592653913717b78e1c7362c95bd8d1eb9f9ab 100644 (file)
--- a/ev++.h
+++ b/ev++.h
@@ -52,10 +52,13 @@ namespace ev {
     TIMEOUT  = EV_TIMEOUT,
     PERIODIC = EV_PERIODIC,
     SIGNAL   = EV_SIGNAL,
+    CHILD    = EV_CHILD,
+    STAT     = EV_STAT,
     IDLE     = EV_IDLE,
     CHECK    = EV_CHECK,
     PREPARE  = EV_PREPARE,
-    CHILD    = EV_CHILD,
+    FORK     = EV_FORK,
+    EMBED    = EV_EMBED,
     ERROR    = EV_ERROR,
   };
 
@@ -306,6 +309,12 @@ namespace ev {
   EV_END_WATCHER (embed, embed)
   #endif
 
+  #if EV_FORK_ENABLE
+  EV_BEGIN_WATCHER (fork, fork)
+    void set () { }
+  EV_END_WATCHER (fork, fork)
+  #endif
+
   #undef EV_CONSTRUCT
   #undef EV_BEGIN_WATCHER
   #undef EV_END_WATCHER