Re: HAVE_FSEEKO for WIN32

Поиск
Список
Период
Сортировка
Искать
От
Magnus Hagander
Тема
Re: HAVE_FSEEKO for WIN32
Дата
Msg-id
4964B47E.40106@hagander.net
Ответ на
Re: HAVE_FSEEKO for WIN32 (Andrew Dunstan)
Список
Дерево обсуждения
HAVE_FSEEKO for WIN32 Andrew Dunstan <andrew@dunslane.net>
Re: HAVE_FSEEKO for WIN32 Bruce Momjian <bruce@momjian.us>
Re: HAVE_FSEEKO for WIN32 Bruce Momjian <bruce@momjian.us>
Re: HAVE_FSEEKO for WIN32 Magnus Hagander <magnus@hagander.net>
Re: HAVE_FSEEKO for WIN32 Andrew Dunstan <andrew@dunslane.net>
Re: HAVE_FSEEKO for WIN32 Magnus Hagander <magnus@hagander.net>
Andrew Dunstan wrote:
> 
> 
> 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.

Ok, thanks!

//Magnus


В списке pgsql-hackers по дате отправления
От: Magnus Hagander
Дата:
От: Joshua Tolley
Дата:
FAQ