delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/12/05/00:29:50

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <3849F8B0.3875F275@ece.gatech.edu>
Date: Sun, 05 Dec 1999 00:31:28 -0500
From: "Charles S. Wilson" <cwilson AT ece DOT gatech DOT edu>
X-Mailer: Mozilla 4.7 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: _tzname not exported from latest snapshots?
References: <3849D875 DOT C02208DD AT ece DOT gatech DOT edu>

 
> Can anybody shed some light on this? Where is _tzname defined?

Thanks to the informative comments from Mumit Khan and Chris Faylor,
this problem is solved. Here's the offending section of code in POSIX.c
: (tzname #defined as _tzname)

#ifdef HAS_TZNAME
#  ifndef WIN32
extern char *tzname[];   <<<<<<<<<<<<<
#  endif
#else
#  if !defined(WIN32) || (defined(__MINGW32__) && !defined(tzname))
char *tzname[] = { "" , "" };
#  endif
#endif

Fixed by putting an #ifdef __CYGWIN__ guard around it. So why did this
work as is, with cygwin-b20.1 ?

Thanks,
Chuck

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019