Re: HAVE_FSEEKO for WIN32 - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: HAVE_FSEEKO for WIN32
Date
Msg-id 4964B38A.6050201@dunslane.net
Whole thread Raw
In response to Re: HAVE_FSEEKO for WIN32  (Magnus Hagander <magnus@hagander.net>)
Responses Re: HAVE_FSEEKO for WIN32  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers

Magnus Hagander wrote:
> Bruce Momjian wrote:
>   
>> Andrew Dunstan wrote:
>>     
>>> Cleaning up the parallel restore patch I came across a question I might 
>>> have asked before, but one which in any case I worked around:
>>>
>>> Why do we carefully define fseeko() for WIN32 but then not define 
>>> HAVE_FSEEKO, which makes doing the former pretty much pointless?
>>>       
>> With Andrew, I have developed and applied the attached patch so MinGW
>> handles fseeko() translation similar to Unix.
>>
>> Someone will need to update MSVC to have similar behavior.
>>     
>
> Which is what? :-)
>
> It just needs to set HAVE_FSEEKO to 1 in pg_config.h?
>
>
>   

Yep. I have fixed it already.

cheers

andrew


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Updates of SE-PostgreSQL 8.4devel patches (r1389)
Next
From: Tom Lane
Date:
Subject: Re: Updates of SE-PostgreSQL 8.4devel patches (r1389)