--- libev/ev.c 2007/12/22 15:20:13 1.197 +++ libev/ev.c 2007/12/23 04:45:51 1.198 @@ -282,9 +282,11 @@ 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"