[MPlayer-dev-eng] [PATCH] -- FreeBSD RTC Support
Diego Biurrun
diego at biurrun.de
Tue Jan 4 12:22:04 CET 2005
Reimar Döffinger writes:
> > How about the attached version? It incorporates your suggestions.
>
> > #include <sys/ioctl.h>
> > +#ifdef __linux__
> > #include <linux/rtc.h>
> > -int main(void) { return RTC_IRQP_READ; }
> > +#define RTCIO_PIE_ON RTC_PIE_ON
> > +#else
> > +#include <rtc.h>
> > +#endif
> > +int main(void) { return RTCIO_PIE_ON; }
>
> I would use RTC_PIE_ON and put the define in the else part. Or change
> the code in mplayer.c... It's better to test _exactly_ what we need in
> the end, not something different IMHO.
OK, next try..
Diego
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtc.patch
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050104/ebc86d18/attachment.txt>
More information about the MPlayer-dev-eng
mailing list