summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
authorroot <root>2007-11-11 01:53:07 +0000
committerroot <root>2007-11-11 01:53:07 +0000
commit5b227372822f2ade98804c5fd403c48d096887b8 (patch)
tree5750e1f85cdb8efa7e92b03eb02fedcec90141c1 /ev.c
parent768c054f55b73450822bd8c4358a4187cd1b8df8 (diff)
fix stop function of idle/check/prepare/child
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c8
1 files 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)