Mercurial > mplayer.hg
diff mplayer.c @ 3015:8bf21c807656
RTC is autodetected
author | arpi |
---|---|
date | Tue, 20 Nov 2001 07:53:20 +0000 |
parents | 60c1b7c0ea21 |
children | 24d3dca4e813 |
line wrap: on
line diff
--- a/mplayer.c Tue Nov 20 00:23:49 2001 +0000 +++ b/mplayer.c Tue Nov 20 07:53:20 2001 +0000 @@ -75,7 +75,7 @@ #define ABS(x) (((x)>=0)?(x):(-(x))) -#ifdef TARGET_LINUX +#ifdef HAVE_RTC #include <linux/rtc.h> #endif @@ -601,7 +601,7 @@ inited_flags|=INITED_LIRC; #endif -#ifdef TARGET_LINUX +#ifdef HAVE_RTC if ((rtc_fd = open("/dev/rtc", O_RDONLY)) < 0) perror ("Linux RTC init: open"); else { @@ -1400,7 +1400,7 @@ if(!(vo_flags&256)){ // flag 256 means: libvo driver does its timing (dvb card) -#ifdef TARGET_LINUX +#ifdef HAVE_RTC if(rtc_fd>=0){ // -------- RTC ----------- while (time_frame > 0.000) {