comparison mplayer.c @ 14381:dc7b86065e3c

RTC support on FreeBSD, inspired by a patch from Michael Johnson <ahze at FreeBSD dot org> and Reimar Dffinger.
author diego
date Thu, 06 Jan 2005 00:06:56 +0000
parents 2c1492daa930
children ea8a371b7d8d
comparison
equal deleted inserted replaced
14380:33926e25fda2 14381:dc7b86065e3c
90 90
91 #define ABS(x) (((x)>=0)?(x):(-(x))) 91 #define ABS(x) (((x)>=0)?(x):(-(x)))
92 #define ROUND(x) ((int)((x)<0 ? (x)-0.5 : (x)+0.5)) 92 #define ROUND(x) ((int)((x)<0 ? (x)-0.5 : (x)+0.5))
93 93
94 #ifdef HAVE_RTC 94 #ifdef HAVE_RTC
95 #ifdef __linux__
95 #include <linux/rtc.h> 96 #include <linux/rtc.h>
97 #else
98 #include <rtc.h>
99 #define RTC_IRQP_SET RTCIO_IRQP_SET
100 #define RTC_PIE_ON RTCIO_PIE_ON
101 #endif
96 #endif 102 #endif
97 103
98 #ifdef USE_TV 104 #ifdef USE_TV
99 #include "libmpdemux/tv.h" 105 #include "libmpdemux/tv.h"
100 #endif 106 #endif