1
1

Use evutil_timercmp instead of timercmp to take advantage of the

fallback installed in evutil.h.

This commit was SVN r17968.
Этот коммит содержится в:
George Bosilca 2008-03-25 23:54:30 +00:00
родитель a01f3f762c
Коммит 64bc580c78

Просмотреть файл

@ -51,7 +51,7 @@ static inline void min_heap_shift_down_(min_heap_t* s, unsigned hole_i
int min_heap_elem_greater(struct event *a, struct event *b)
{
return timercmp(&a->ev_timeout, &b->ev_timeout, >);
return evutil_timercmp(&a->ev_timeout, &b->ev_timeout, >);
}
void min_heap_ctor(min_heap_t* s) { s->p = 0; s->n = 0; s->a = 0; }