Re: Removing dependency to wsock32.lib when compiling code on WIndows

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Removing dependency to wsock32.lib when compiling code on WIndows
Дата
Msg-id CAB7nPqTfT0hYq5ev0RRUxR672d4Du+GVv0uMtWB=xpfQ1yapDA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Removing dependency to wsock32.lib when compiling code on WIndows  (Noah Misch <noah@leadboat.com>)
Ответы Re: Removing dependency to wsock32.lib when compiling code on WIndows  (Noah Misch <noah@leadboat.com>)
Список pgsql-hackers
On Tue, Aug 12, 2014 at 9:43 AM, Noah Misch <noah@leadboat.com> wrote:
>
> Somehow or other, we must bring these parts into agreement.


It is interesting to see that with MinGW-32b getaddrinfo is still set
to no at configure phase. What if we simply wrap "undef gai_strerror"
like in the patch attached? I just set up an environment with MinGW-64
and I was able to build the code (tested as well with MinGW-32 btw).

Another idea would be to enforce getaddrinfo to no at configure for
MinGW environments.
Thoughts?
--
Michael

Вложения

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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: replication commands and log_statements
Следующее
От: Jeff Davis
Дата:
Сообщение: Re: 9.5: Memory-bounded HashAgg