summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
authorMarc Alexander Lehmann <libev@schmorp.de>2014-09-07 13:44:21 +0000
committerMarc Alexander Lehmann <libev@schmorp.de>2014-09-07 13:44:21 +0000
commit5250496598df4f3f79e58baa436bde0681e22b68 (patch)
tree910c03d52ea488a7bff072198ba99d3b88832778 /ev.c
parente1ac783eac77663ff00a3908bfd9ee2e2b7f8b38 (diff)
downloadlibev-5250496598df4f3f79e58baa436bde0681e22b68.tar.gz
libev-5250496598df4f3f79e58baa436bde0681e22b68.zip
*** empty log message ***
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/ev.c b/ev.c
index f94fbf5..f8a1617 100644
--- a/ev.c
+++ b/ev.c
@@ -258,6 +258,15 @@
# endif
#endif
+#if !(_POSIX_TIMERS > 0)
+# ifndef EV_USE_MONOTONIC
+# define EV_USE_MONOTONIC 0
+# endif
+# ifndef EV_USE_REALTIME
+# define EV_USE_REALTIME 0
+# endif
+#endif
+
#ifndef EV_USE_MONOTONIC
# if defined _POSIX_MONOTONIC_CLOCK && _POSIX_MONOTONIC_CLOCK >= 0
# define EV_USE_MONOTONIC EV_FEATURE_OS