[MPlayer-cvslog] r31433 - trunk/configure

Diego Biurrun diego at biurrun.de
Thu Jun 17 00:21:18 CEST 2010


On Wed, Jun 16, 2010 at 09:32:15PM +0200, Reimar Döffinger wrote:
> On Wed, Jun 16, 2010 at 08:28:00PM +0200, diego wrote:
> > 
> > Log:
> > Use a struct timezone as second parameter for gettimeofday in the function test.
> > This works around (broken?) systems where just #including <sys/time.h> does not
> > provide NULL.
> 
> Don't do that kind of hacks.
> I don't see the point of avoiding to include stdlib.h, but if you insist just use
> 0 instead of NULL, it is basically the same thing just uglier.

I don't see how this is a hack.  The test now passes two parameters of
the right type to gettimeofday().

Diego


More information about the MPlayer-cvslog mailing list