diff options
author | root <root> | 2007-11-11 01:07:35 +0000 |
---|---|---|
committer | root <root> | 2007-11-11 01:07:35 +0000 |
commit | 8eaf72b24298b3c7c6e33812b1410b1ee3bb33c6 (patch) | |
tree | 8ccd4b8fd65a550857a37c8d625b272ed1d504b8 /ev++.C | |
parent | 6778edc72c8101697c478c40f104fe75c97e336e (diff) |
fix bug
Diffstat (limited to 'ev++.C')
-rw-r--r-- | ev++.C | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -4,7 +4,9 @@ namespace ev { extern "C" { void cb_io (struct ev_io *w, int revents) { (*static_cast<io *>(w))(revents); } void cb_timer (struct ev_timer *w, int revents) { (*static_cast<timer *>(w))(revents); } + #if EV_PERIODICS void cb_periodic (struct ev_periodic *w, int revents) { (*static_cast<periodic *>(w))(revents); } + #endif void cb_idle (struct ev_idle *w, int revents) { (*static_cast<idle *>(w))(revents); } void cb_prepare (struct ev_prepare *w, int revents) { (*static_cast<prepare *>(w))(revents); } void cb_check (struct ev_check *w, int revents) { (*static_cast<check *>(w))(revents); } |