Re: Fix for win32 stat() problems

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Fix for win32 stat() problems
Date: 2008-04-09 20:28:10
Message-ID: 20080409222810.187d1b75@mha-laptop
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Tom Lane wrote:
> Magnus Hagander <magnus(at)hagander(dot)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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Guillaume Smet 2008-04-09 21:06:01 Re: [PATCHES] Integer datetime by default
Previous Message Tom Lane 2008-04-09 20:26:31 Re: Fix for win32 stat() problems