[PATCH] Only compile ev::now() if EV_MULTIPLICITY is defined.

Leandro Lucarella llucax at gmail.com
Tue Jan 15 13:06:32 CET 2008

Marc Lehmann, el 15 de enero a las 04:13 me escribiste:
> On Mon, Jan 14, 2008 at 01:35:22PM -0200, Leandro Lucarella <llucax at gmail.com> wrote:
> > Since ev_now() not available if EV_MULTIPLICITY is not defined, it has not
> > much sense having a ev::now() that calls an inexistent ev_now() ;)
> not sure what you mean, ev_now is available regardless of any value for

I mean, in ev.h says:
/* ... */
ev_tstamp ev_now (EV_P); /* time w.r.t. timers and the eventloop, updated after each poll */

/* ... */

But in ev++.h there was no conditional compilation for ev::now(), that
uses ev_now().

Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
Bulletproof... I Wish I Was

More information about the libev mailing list