[pulseaudio-discuss] [PATCH 4/4] Wrap clock_gettime and friends

Daniel Mack daniel at caiaq.de
Tue Nov 3 16:37:41 PST 2009


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




More information about the pulseaudio-discuss mailing list