Files
2022-03-11 18:49:30 +00:00

12 lines
325 B
Plaintext

--- 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)
active = true;
}
-#ifdef HAVE_HIRES_TIMER
+#if defined(HAVE_HIRES_TIMER) && defined(HAVE_CLOCK_NANOSLEEP)
void TimerPort::sleepTimer(void)
{
struct timespec ts;