From fe7f056cfc2dc30ab33a1e36b0005fa1e39b0e50 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 10 Jul 2009 00:36:21 +0000 Subject: *** empty log message *** --- ev_vars.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'ev_vars.h') diff --git a/ev_vars.h b/ev_vars.h index 9279004..8c6bbab 100644 --- a/ev_vars.h +++ b/ev_vars.h @@ -48,8 +48,6 @@ VARx(ev_tstamp, timeout_blocktime) VARx(int, backend) VARx(int, activecnt) /* total number of active events ("refcount") */ -VARx(unsigned int, loop_count) /* total number of loop iterations/blocks */ -VARx(unsigned int, loop_depth) /* #ev_loop enters - #ev_loop leaves */ VARx(char, loop_done) /* signal by ev_unloop */ VARx(int, backend_fd) @@ -168,10 +166,18 @@ VARx(char, fs_2625) /* whether we are running in linux 2.6.25 or newer */ VAR (fs_hash, ANFS fs_hash [EV_INOTIFY_HASHSIZE]) #endif +#if EV_MINIMAL < 2 +VARx(unsigned int, loop_count) /* total number of loop iterations/blocks */ +VARx(unsigned int, loop_depth) /* #ev_loop enters - #ev_loop leaves */ + VARx(void *, userdata) +#endif + +#if EV_MINIMAL < 2 VAR (suspend_cb, void (*suspend_cb)(EV_P)) VAR (resume_cb , void (*resume_cb) (EV_P)) VAR (invoke_cb , void (*invoke_cb) (EV_P)) +#endif #undef VARx -- cgit v1.2.3