X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/d1d02ca0040b567cfc3081701b52b0361412a444..8eaf72b24298b3c7c6e33812b1410b1ee3bb33c6:/ev%20%20.C/software/libev.git/blobdiff_plain/d1d02ca0040b567cfc3081701b52b0361412a444..8eaf72b24298b3c7c6e33812b1410b1ee3bb33c6:/ev++.C?ds=sidebyside diff --git a/ev++.C b/ev++.C index f1f6ce0..d053c89 100644 --- a/ev++.C +++ b/ev++.C @@ -4,7 +4,9 @@ namespace ev { extern "C" { void cb_io (struct ev_io *w, int revents) { (*static_cast(w))(revents); } void cb_timer (struct ev_timer *w, int revents) { (*static_cast(w))(revents); } + #if EV_PERIODICS void cb_periodic (struct ev_periodic *w, int revents) { (*static_cast(w))(revents); } + #endif void cb_idle (struct ev_idle *w, int revents) { (*static_cast(w))(revents); } void cb_prepare (struct ev_prepare *w, int revents) { (*static_cast(w))(revents); } void cb_check (struct ev_check *w, int revents) { (*static_cast(w))(revents); }