Re: [HACKERS] Date/time on glibc2 linux

From: Oleg Broytmann <phd(at)sun(dot)med(dot)ru>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Thomas G(dot) Lockhart" <lockhart(at)alumni(dot)caltech(dot)edu>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Date/time on glibc2 linux
Date: 1998-12-10 16:34:12
Message-ID: Pine.SOL2.3.96.SK.981210192558.18989A-100000@sun.med.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi!

On Thu, 10 Dec 1998, Tom Lane wrote:
> Yes, the autoconf test just checks for a global variable "timezone"
> declared in <time.h>. It'd probably be better to reverse the test to
> check for the timezone fields in a struct tm. I don't much care for
> the name of the configuration symbol either ... maybe change it to
> HAVE_STRUCT_TM_TZ_FIELDS ?

It is enought to add AC_STRUCT_TIMEZONE to configure.in - and after it
configure will #define HAVE_TM_ZONE 1 in config.h.
I already did it - just haven't submitted the patch.

Oleg.
----
Oleg Broytmann http://members.tripod.com/~phd2/ phd2(at)earthling(dot)net
Programmers don't die, they just GOSUB without RETURN.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas G. Lockhart 1998-12-10 16:35:33 Re: [HACKERS] Re: MIN(text)/MAX(text)
Previous Message Tom Lane 1998-12-10 15:48:41 Re: [HACKERS] Date/time on glibc2 linux