Re: where to put NO_MKTIME_BEFORE_1970?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: where to put NO_MKTIME_BEFORE_1970?
Дата
Msg-id 8665.1029516002@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: where to put NO_MKTIME_BEFORE_1970?  (Joe Conway <mail@joeconway.com>)
Ответы Re: where to put NO_MKTIME_BEFORE_1970?
Список pgsql-hackers
Joe Conway <mail@joeconway.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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Open 7.3 issues
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Open 7.3 items