delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/23/22:59:55

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 23 May 2005 19:59:29 -0700
From: Yitzchak Scott-Thoennes <sthoenna AT efn DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: struct tm problem
Message-ID: <20050524025929.GA2500@efn.org>
References: <000501c5600b$120c9b50$f52fb5d5 AT keloasc60pobkb> <20050524025800 DOT GB3736 AT efn DOT org>
Mime-Version: 1.0
In-Reply-To: <20050524025800.GB3736@efn.org>
User-Agent: Mutt/1.4.1i
X-IsSubscribed: yes

On Mon, May 23, 2005 at 07:58:01PM -0700, Yitzchak Scott-Thoennes wrote:
> tm_gmtoff is not required by the standard:
> http://www.opengroup.org/onlinepubs/009695399/basedefs/time.h.html
> 
> However, it is an extension available in the Olson tzcode, which
> cygwin seems to use.  Enabling it would seem to be a matter of
> setting -DTM_GMTOFF=tm_gmtoff and adding it to time.h.

Clarification: that macro would need to be defined when compiling
the relevant parts of the cygwin dll, not the C++ libraries you
are trying to compile.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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