13 lines
393 B
Plaintext
13 lines
393 B
Plaintext
$OpenBSD: patch-src_timer_cpp,v 1.2 2009/05/06 17:16:17 sthen Exp $
|
|
--- 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;
|