From a2c0bdedd457919c28052570fc6d65ce1ee600ca Mon Sep 17 00:00:00 2001 From: root Date: Sun, 12 Feb 2012 08:38:31 +0000 Subject: undef ev_error --- Changes | 3 +++ ev_kqueue.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/Changes b/Changes index c664503..dd274f8 100644 --- a/Changes +++ b/Changes @@ -3,6 +3,9 @@ Revision history for libev, a high-performance and full-featured event loop. TODO: ev_loop_wakeup TODO: EV_STANDALONE == NO_HASSEL (do not use clock_gettime in ev_standalone) + - ev_once: undef EV_ERROR in ev_kqueue.c, to avoid clashing with + libev's EV_ERROR (reported by 191919). + 4.11 Sat Feb 4 19:52:39 CET 2012 - INCOMPATIBLE CHANGE: ev_timer_again now clears the pending status, as was documented already, but not implemented in the repeating case. diff --git a/ev_kqueue.c b/ev_kqueue.c index 91b85ed..5f29bca 100644 --- a/ev_kqueue.c +++ b/ev_kqueue.c @@ -196,3 +196,6 @@ kqueue_fork (EV_P) fd_rearm_all (EV_A); } +/* sys/event.h defines EV_ERROR */ +#undef EV_ERROR + -- cgit v1.2.3