Skip to content
Tcl Source Code View Ticket
Login

View Ticket

HAVE_TM_ZONE in Cygwin/Win32

Closed / Wont Fix634772ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2002-11-07 02:01:35
tcl/generic/tclClock.c (8.4.1) fails to compile under 
Cygwin, caused by HAVE_TM_ZONE not being defined.

In 8.3.0 the conditional code read "#ifndef 
HAVE_TM_ZONE" and this define was created by the 
tcl/win/configure script.

In 8.4.1 the configure script has changed and the test 
which conditionally created the HAVE_TM_ZONE define 
is no longer present.

The conditional code in tclClock.c now reads "#if !defined
(HAVE_TM_ZONE) && !defined(WIN32)".

I can fix the problem by adding "&& !defined
(__CYGWIN32__)", or by adding __CYGWIN32__ to the 
list defines that create the WIN32 define in tcl.h, 
however it may would be worth figuring out why the 
configure script was changed.

Nick
mdejongplain2003-02-11 09:27:25
Logged In: YES 
user_id=90858

Cygwin build support disabled for 8.3.2.
Closing bug reports since we are lacking
a maintainer willing to keep the Cygwin
port working.
Log in (anonymous is fine) to add a comment.