Re: Fix for win32 stat() problems - Mailing list pgsql-patches

From Magnus Hagander
Subject Re: Fix for win32 stat() problems
Date
Msg-id 20080409222810.187d1b75@mha-laptop
Whole thread Raw
In response to Re: Fix for win32 stat() problems  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Fix for win32 stat() problems
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Fix for win32 stat() problems
Next
From: Andrew Dunstan
Date:
Subject: Re: Fix for win32 stat() problems