Re: where to put NO_MKTIME_BEFORE_1970?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joe Conway <mail(at)joeconway(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Peter Eisentraut <peter_e(at)gmx(dot)net>
Subject: Re: where to put NO_MKTIME_BEFORE_1970?
Date: 2002-08-16 16:40:02
Message-ID: 8665.1029516002@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Joe Conway <mail(at)joeconway(dot)com> writes:
> Is /src/include/port/linux.h the correct place to put this or should
> something more specific to Red Hat 7.3 be used (and if so, any ideas
> about how to detect that Red Hat 7.3 is being used)?

Really what we need is a test on the glibc version, which seems a
bit difficult. I am half inclined to put in a configure test that
actually checks whether mktime will work on pre-1970 dates ... but
I dunno if Peter will hold still for that. In any case we don't
currently have a mechanism for reflecting whatever configure would
discover into the resultmap.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-08-16 16:46:44 Re: Open 7.3 items
Previous Message Tom Lane 2002-08-16 16:34:25 Re: Open 7.3 issues