Re: Also cannot build the postgresql server under Mingw

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Also cannot build the postgresql server under Mingw
Дата
Msg-id 41362376.70005@dunslane.net
обсуждение исходный текст
Ответ на Re: Also cannot build the postgresql server under Mingw using 8.0 beta 2  ("Dann Corbit" <DCorbit@connx.com>)
Список pgsql-hackers

Dann Corbit wrote:

> Adding this to the c.h file solved most of the problems for the libpq DLL:
>  
> #if defined(HAVE_STRINGS_H) && !defined(_MSC_VER)
> #include <strings.h>
> #endif
> ...
> #if defined(WIN32) && defined(_MSC_VER)
> #include <winsock2.h>
> #define snprintf _snprintf
> #endif
> Since I ran configure for MINGW (which has strings.h) it creates a 
> header file which is partly invalid for MS VC++


We do not expect configure to create a setup for any use on Windows 
other than building under MinGW.

cheers

andrew


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

Предыдущее
От: "Dann Corbit"
Дата:
Сообщение: Re: Also cannot build the postgresql server under Mingw using 8.0 beta 2
Следующее
От: "Dann Corbit"
Дата:
Сообщение: Re: Also cannot build the postgresql server under Mingw using 8.0 beta 2