Files

12 lines
325 B
Plaintext
Raw Permalink Normal View History

2009-05-06 17:16:17 +00:00
--- src/timer.cpp.orig Fri Jan 16 07:27:00 2009
+++ src/timer.cpp Thu Apr 2 04:56:04 2009
@@ -118,7 +118,7 @@ void TimerPort::decTimer(timeout_t timeout)
2009-03-08 10:28:00 +00:00
active = true;
}
-#ifdef HAVE_HIRES_TIMER
+#if defined(HAVE_HIRES_TIMER) && defined(HAVE_CLOCK_NANOSLEEP)
void TimerPort::sleepTimer(void)
{
struct timespec ts;