]> git.llucax.com Git - software/libev.git/commitdiff
*** empty log message ***
authorroot <root>
Sun, 23 Dec 2007 04:45:51 +0000 (04:45 +0000)
committerroot <root>
Sun, 23 Dec 2007 04:45:51 +0000 (04:45 +0000)
ev.c

diff --git a/ev.c b/ev.c
index 1a4e5f16a459a1d96da354f7df4c153e4a754fb8..24d00d09e8d7c8017d4d4befa7a2e1ca708318bd 100644 (file)
--- a/ev.c
+++ b/ev.c
@@ -282,9 +282,11 @@ typedef ev_watcher *W;
 typedef ev_watcher_list *WL;
 typedef ev_watcher_time *WT;
 
+#if EV_USE_MONOTONIC
 /* sig_atomic_t is used to avoid per-thread variables or locking but still */
 /* giving it a reasonably high chance of working on typical architetcures */
 static sig_atomic_t have_monotonic; /* did clock_gettime (CLOCK_MONOTONIC) work? */
+#endif
 
 #ifdef _WIN32
 # include "ev_win32.c"