[Mplayer-cvslog] CVS: main/linux timer-lx.c,1.4,1.5

Alex Beregszaszi alex at mplayer.dev.hu
Fri Nov 23 19:25:34 CET 2001


Update of /cvsroot/mplayer/main/linux
In directory mplayer:/var/tmp.root/cvs-serv19363

Modified Files:
	timer-lx.c 
Log Message:
HAVE_NANOSLEEP

Index: timer-lx.c
===================================================================
RCS file: /cvsroot/mplayer/main/linux/timer-lx.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- timer-lx.c	25 Oct 2001 23:34:14 -0000	1.4
+++ timer-lx.c	23 Nov 2001 18:25:32 -0000	1.5
@@ -3,10 +3,11 @@
 #include <unistd.h>
 #include <time.h>
 #include <sys/time.h>
+#include "../config.h"
 
 int usec_sleep(int usec_delay)
 {
-#if	1
+#ifdef HAVE_NANOSLEEP
     struct timespec ts;
     ts.tv_sec  =  usec_delay / 1000000;
     ts.tv_nsec = (usec_delay % 1000000) * 1000;




More information about the MPlayer-cvslog mailing list