| From: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
|---|---|
| To: | Noah Misch <noah(at)leadboat(dot)com> |
| Cc: | Jeff Janes <jeff(dot)janes(at)gmail(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>, MauMau <maumau307(at)gmail(dot)com>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Removing dependency to wsock32.lib when compiling code on WIndows |
| Date: | 2014-08-12 04:58:17 |
| Message-ID: | CAB7nPqTfT0hYq5ev0RRUxR672d4Du+GVv0uMtWB=xpfQ1yapDA@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Tue, Aug 12, 2014 at 9:43 AM, Noah Misch <noah(at)leadboat(dot)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
| Attachment | Content-Type | Size |
|---|---|---|
| 20140812_Fix-MinGW-64-with-gai_strerror.patch | text/x-patch | 1.2 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jeff Davis | 2014-08-12 05:06:55 | Re: 9.5: Memory-bounded HashAgg |
| Previous Message | Amit Kapila | 2014-08-12 04:37:34 | Re: replication commands and log_statements |