build ok on MacOS

This commit is contained in:
shuxin   zheng 2022-03-22 16:12:22 +08:00
parent 1ced194a2b
commit 2072e84431

View File

@ -98,7 +98,9 @@ ssize_t event_size(EVENT *ev)
void event_free(EVENT *ev)
{
timer_cache_free(ev->poll_list);
#ifdef HAS_EPOLL
timer_cache_free(ev->epoll_list);
#endif
ev->free(ev);
}