[mythtv] [PATCH] MythTV uClibc support
Andrew Mahone
andrew.mahone at gmail.com
Sat Apr 2 05:33:46 UTC 2005
On Mar 23, 2005 2:20 AM, Isaac Richards <ijr at case.edu> wrote:
> I don't really like all the ifdefs in this - possible to factor it out so it's
> a bit cleaner?
>
> Isaac
Sorry, I somehow didn't see the reply for a week or so. I'm not happy
about the number of ifdefs, either, but I also didn't like the idea of
duplicating each of the relevant functions. I'd originally suggested
simply dropping the fstab versions entirely, but apparently OS X
doesn't have mntent.
What if I move all the ifdef stuff into the header, and use macros to
select the right structures and members? That might be a little
cleaner than the current way, and a little less prone to future
breakage than duplicating each function that uses fstab/mntent.
--
Andrew Mahone
andrew DOT mahone AT gmail DOT com
More information about the mythtv-dev
mailing list