[MPlayer-dev-eng] [PATCH] -- FreeBSD RTC Support
Diego Biurrun
diego at biurrun.de
Thu Jan 6 01:05:24 CET 2005
Diego Biurrun writes:
> 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..
Committed (with Reimar's blessing).
Diego
More information about the MPlayer-dev-eng
mailing list