]> rtime.felk.cvut.cz Git - sojka/libev.git/commitdiff
*** empty log message ***
authorMarc Alexander Lehmann <libev@schmorp.de>
Fri, 3 Feb 2012 21:08:39 +0000 (21:08 +0000)
committerMarc Alexander Lehmann <libev@schmorp.de>
Fri, 3 Feb 2012 21:08:39 +0000 (21:08 +0000)
ev.h

diff --git a/ev.h b/ev.h
index 1936f4187973593f0d94d816e6854d5f67c0155a..72587d5ff56c3a0db4bf0beec926fd44cfb21416 100644 (file)
--- a/ev.h
+++ b/ev.h
@@ -544,7 +544,9 @@ EV_API_DECL void ev_set_syserr_cb (void (*cb)(const char *msg));
 /* you can call this as often as you like */
 EV_API_DECL struct ev_loop *ev_default_loop (unsigned int flags EV_CPP (= 0));
 
+#ifdef EV_API_STATIC
 EV_API_DECL struct ev_loop *ev_default_loop_ptr;
+#endif
 
 EV_INLINE struct ev_loop *
 ev_default_loop_uc_ (void)