diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-11-20 07:53:20 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-11-20 07:53:20 +0000 |
commit | 109caf6b90051cbd1db0ea76099a7bfa55cde846 (patch) | |
tree | 41d8e455143ae21af1a58a4929f6f158c62cf281 /mplayer.c | |
parent | e7df17dcda08cb3bbb5d72494e4adae62721fa77 (diff) | |
download | mpv-109caf6b90051cbd1db0ea76099a7bfa55cde846.tar.bz2 mpv-109caf6b90051cbd1db0ea76099a7bfa55cde846.tar.xz |
RTC is autodetected
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3016 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -75,7 +75,7 @@ int quiet=0; #define ABS(x) (((x)>=0)?(x):(-(x))) -#ifdef TARGET_LINUX +#ifdef HAVE_RTC #include <linux/rtc.h> #endif @@ -601,7 +601,7 @@ if(!parse_codec_cfg(get_path("codecs.conf"))){ 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(!dapsync){ 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) { |