| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера