Commit 665a5b28 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Use TIMER_ABSTIME when it's available

parent a056e64e
......@@ -328,7 +328,7 @@ void mwait( mtime_t date )
* do not even bother the system timer. */
date -= mprec();
#if 0 && defined (HAVE_CLOCK_NANOSLEEP)
#if defined (HAVE_CLOCK_NANOSLEEP)
lldiv_t d = lldiv( date, 1000000 );
struct timespec ts = { d.quot, d.rem * 1000 };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment