From 5b227372822f2ade98804c5fd403c48d096887b8 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 11 Nov 2007 01:53:07 +0000 Subject: [PATCH] fix stop function of idle/check/prepare/child --- ev.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ev.c b/ev.c index 480d0fa..b3112d1 100644 --- a/ev.c +++ b/ev.c @@ -37,8 +37,12 @@ extern "C" { # include "config.h" # if HAVE_CLOCK_GETTIME -# define EV_USE_MONOTONIC 1 -# define EV_USE_REALTIME 1 +# ifndef EV_USE_MONOTONIC +# define EV_USE_MONOTONIC 1 +# endif +# ifndef EV_USE_REALTIME +# define EV_USE_REALTIME 1 +# endif # endif # if HAVE_SELECT && HAVE_SYS_SELECT_H && !defined (EV_USE_SELECT) -- 2.43.0