[PATCH 4/4] Wrap clock_gettime and friends

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 03, 2009 at 11:33:37PM +0100, Lennart Poettering wrote:
> On Sun, 01.11.09 20:16, Daniel Mack (daniel at caiaq.de) wrote:
> 
> > My build bails due to an undefined 'CLOCK_REALTIME', and this is because
> > HAVE_CLOCK_GETTIME is also defined on Darwin.
> 
> Uh?
> 
> If HAVE_CLOCK_GETTIME is set, than this means that clock_gettime() is
> available, too. So why are we emulating it then?

Because CLOCK_REALTIME is undefined. I think the true reason is that
HAVE_CLOCK_GETTIME is bogus in this case. It is reported to be supported
but in fact it isn't. 

Maybe the real fix would be to check why. But that involves dealing with
autofoo and their braindead m4 macro voodoo which always ruins my day ;)
Volounteers?

Daniel




[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux