[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MinGW-w64 Compatibility with v2.10.1
From: |
Nikos Mavrogiannopoulos |
Subject: |
Re: MinGW-w64 Compatibility with v2.10.1 |
Date: |
Tue, 14 Sep 2010 14:00:57 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.12) Gecko/20100826 Thunderbird/3.0.7 |
On 09/10/2010 03:31 AM, Hoyt, David wrote:
> A build using the latest from MinGW-w64 fails with a redefinition error b/c
> it finds socklen_t in two places. Configure finds both winsock2.h and
> ws2tcipip.h and when it finds winsock.h, it does a "typedef int socklen_t" in
> gl/sys_socket.in.h but this is already defined in ws2tcpip.h. When I
> specified -D_WIN32_WINNT=0x0501 for Windows XP or higher support only, it
> compiled cleanly. It looks like a guard is needed at line 154 of
> gl/sys_socket.in.h - something along the lines of (this has not been tested):
>
> #ifndef @HAVE_WS2TCPIP_H@
> typedef int socklen_t;
> #endif
Hello,
Thanks for the report. you might want to report it directly to gnulib
people[0] since in gnutls we only transparently use it.
[0]. http://www.gnu.org/software/gnulib/
best regards,
Nikos