summaryrefslogtreecommitdiff
path: root/ev_vars.h
diff options
context:
space:
mode:
authorroot <root>2009-07-10 00:36:21 +0000
committerroot <root>2009-07-10 00:36:21 +0000
commitfe7f056cfc2dc30ab33a1e36b0005fa1e39b0e50 (patch)
treee623ed6d8c81a89e07d3bde1f63c8b6d43c596a2 /ev_vars.h
parentce8dc1a03da38c405583d4673d8da12c2a26373e (diff)
*** empty log message ***
Diffstat (limited to 'ev_vars.h')
-rw-r--r--ev_vars.h10
1 files changed, 8 insertions, 2 deletions
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