Re: Fix for win32 stat() problems

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fix for win32 stat() problems
Дата
Msg-id 1335.1207838475@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Fix for win32 stat() problems  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Fix for win32 stat() problems  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-patches
Magnus Hagander <magnus@hagander.net> writes:
> A whole lot simpler patch :-)

Seems like you no longer need the !defined(_DIRMOD_C) bit here?
Also please include a comment about why <sys/stat.h> has to be
forcibly included.

A more general question: can't we get rid of most of the #ifdef WIN32
cruft in include/port.h, and put it in include/port/win32.h instead?
Seems cleaner that way, at least for things where there's just an
#ifdef WIN32 hunk and not two cases for Win and not-Win.

            regards, tom lane

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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Fix for win32 stat() problems
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Fix for win32 stat() problems