[Xastir] More broken code in CVS

Curt Mills, WE7U hacker at tc.fluke.com
Thu Jul 17 15:37:57 EDT 2003


On Thu, 17 Jul 2003, Dick C. Reichenbach wrote:

> I tried to update today.  My current working Xastir was built 7-1
>
> I got this fatal compiling error
> util.c: In function `time_from_aprsstring':
> util.c:785: `_timezone' undeclared (first use in this function)
> util.c:785: (Each undeclared identifier is reported only once for each
> function it appears in)

Make that section of util.c look like this instead:


#ifndef HAVE_TM_GMTOFF
    #ifdef __CYGWIN__
        // Use "_timezone" instead of timezone in Cygwin
        #define timezone _timezone
    #else // __CYGWIN__
        extern time_t timezone;
    #endif  // __CYGWIN__
#endif  // HAVE_TM_GMTOFF


I just committed it to CVS, but it won't show up on the anon server
until tomorrow.

-- 
Curt Mills, WE7U                    hacker_NO_SPAM_ at tc.fluke.com
Senior Methods Engineer/SysAdmin
"Lotto:    A tax on people who are bad at math!"
"Windows:  Microsoft's tax on computer illiterates!" -- WE7U
"The world DOES revolve around me:  I picked the coordinate system!"



More information about the Xastir mailing list