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

 
> 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@sourceware.cygnus.com

