[Top][All Lists]

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

Re: [Bug-gnubg] more build problem

From: Russ Allbery
Subject: Re: [Bug-gnubg] more build problem
Date: Wed, 28 Mar 2007 14:27:00 -0700
User-agent: Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.19 (linux)

Øystein Johansen <address@hidden> writes:

> There was a problem in dice.c

> dice.c: In function .RNGSystemSeed.:
> dice.c:789: error: storage size of .tz. isn.t known

>     if( !f ) {
>       struct timeval tv;
>       struct timezone tz;

>       if( !gettimeofday( &tv, &tz ) )
>           n = tv.tv_sec ^ tv.tv_usec;
>       else
> #endif

No modern Unix system does anything with the second argument to
gettimeofday any more.  You can almost certainly just delete the tz
variable and change &tz to NULL in the call.

Russ Allbery (address@hidden)             <http://www.eyrie.org/~eagle/>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]