Re: Fix for win32 stat() problems

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Fix for win32 stat() problems
Дата
Msg-id 20080409222810.187d1b75@mha-laptop
обсуждение исходный текст
Ответ на Re: Fix for win32 stat() problems  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Fix for win32 stat() problems  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-patches
Tom Lane wrote:
> Magnus Hagander <magnus@hagander.net> writes:
> > Trying to prepare a patch that does it the normal way, but so far
> > I'm failing rather miserably. The *struct* stat is already
> > redefined on win32, so whenever I try #undef or so it conflicts
> > with that :-( Since there is no way to #undef only the parametrized
> > version.
>
> I don't follow ... there's no such redefinition in our code AFAICS.
> Do you mean that the system header files declare it as a macro?

Yes.

//Magnus

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

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