]> git.sesse.net Git - vlc/commitdiff
Use TIMER_ABSTIME when it's available
authorRémi Denis-Courmont <rem@videolan.org>
Mon, 19 May 2008 17:53:56 +0000 (20:53 +0300)
committerRémi Denis-Courmont <rem@videolan.org>
Mon, 19 May 2008 17:53:56 +0000 (20:53 +0300)
src/misc/mtime.c

index 79490962843d5a88b7a5c56f26e29c3d698e34cc..b25f1a5f77c9ff67ee9381201c5611e9a7e1557d 100644 (file)
@@ -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 };